Skip to content

Commit

Permalink
Merge pull request #28902 from Artur-
Browse files Browse the repository at this point in the history
* gh-28902:
  Make ErrorPageSecurityFilter compatible with Servlet 3.1

Closes gh-28902
  • Loading branch information
wilkinsona committed Dec 9, 2021
2 parents 25a2888 + ad754ab commit c3e0a79
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 c3e0a79

Please sign in to comment.