Class ErrorPageSecurityFilter
java.lang.Object
org.springframework.boot.web.servlet.filter.ErrorPageSecurityFilter
- All Implemented Interfaces:
jakarta.servlet.Filter
Filter that intercepts error dispatches to ensure authorized access to the
error page.- Since:
- 2.6.0
-
Constructor Summary
ConstructorsConstructorDescriptionErrorPageSecurityFilter(org.springframework.context.ApplicationContext context) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.Filter
init
-
Constructor Details
-
ErrorPageSecurityFilter
public ErrorPageSecurityFilter(org.springframework.context.ApplicationContext context)
-
-
Method Details
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException - Specified by:
doFilterin interfacejakarta.servlet.Filter- Throws:
IOExceptionjakarta.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroyin interfacejakarta.servlet.Filter
-