public class SecurityContextHolderAwareRequestFilter
extends org.springframework.web.filter.GenericFilterBean
Filter which populates the ServletRequest with a request wrapper
which implements the servlet API security methods.
The wrapper class used is SecurityContextHolderAwareRequestWrapper.
| 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) |
public 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.ServletExceptionCopyright © 2014. All rights reserved.