Skip to content

Commit

Permalink
Make ErrorPageSecurityFilter compatible with Servlet 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur- authored and wilkinsona committed Dec 9, 2021
1 parent 25a2888 commit ad754ab
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -21,6 +21,7 @@
import javax.servlet.DispatcherType;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
Expand Down Expand Up @@ -54,6 +55,11 @@ public ErrorPageSecurityFilter(ApplicationContext context) {
this.context = context;
}

@Override
public void init(FilterConfig filterConfig) throws ServletException {
// Intentionally blank
}

@Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
throws IOException, ServletException {
Expand Down

0 comments on commit ad754ab

Please sign in to comment.