Merge pull request #28902 from Artur-

* gh-28902:
  Make ErrorPageSecurityFilter compatible with Servlet 3.1

Closes gh-28902
pull/29089/head
Andy Wilkinson 3 years ago
commit c3e0a7905d

@ -21,6 +21,7 @@ import java.io.IOException;
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;
@ -54,6 +55,11 @@ public class ErrorPageSecurityFilter implements Filter {
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 {

Loading…
Cancel
Save