public class SecurityContextHolderAwareRequestFilter extends GenericFilterBean
Filter which populates the ServletRequest with a request wrapper
which implements the servlet API security methods.
The wrapper class used is SecurityContextHolderAwareRequestWrapper.
logger| Constructor and Description |
|---|
SecurityContextHolderAwareRequestFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain) |
void |
setRolePrefix(String rolePrefix) |
addRequiredProperty, afterPropertiesSet, destroy, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setServletContextpublic SecurityContextHolderAwareRequestFilter()
public void setRolePrefix(String rolePrefix)
public void doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletException