Package hudson.security
Class UnwrapSecurityExceptionFilter
java.lang.Object
hudson.security.UnwrapSecurityExceptionFilter
- All Implemented Interfaces:
javax.servlet.Filter
If a security exception caused
JellyTagException,
rethrow it accordingly so that ExceptionTranslationFilter
can pick it up and initiate the redirection.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UnwrapSecurityExceptionFilter
public UnwrapSecurityExceptionFilter()
-
-
Method Details
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException - Specified by:
initin interfacejavax.servlet.Filter- Throws:
javax.servlet.ServletException
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Specified by:
doFilterin interfacejavax.servlet.Filter- Throws:
IOExceptionjavax.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroyin interfacejavax.servlet.Filter
-