public class CsrfFilter
extends org.springframework.web.filter.GenericFilterBean
servletPath + pathInfo) of an HttpServletRequest.
This allows you to use wildcard matching as well, for example /** or **AntPathRequestMatcher| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
excludedRequestPatterns |
protected ExploitProtectionService |
exploitProtectionService |
protected static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
CsrfFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
doFilter(javax.servlet.ServletRequest baseRequest,
javax.servlet.ServletResponse baseResponse,
javax.servlet.FilterChain chain) |
List<String> |
getExcludedRequestPatterns() |
void |
setExcludedRequestPatterns(List<String> excludedRequestPatterns)
This allows you to declaratively set a list of excluded Request Patterns
|
protected static final org.apache.commons.logging.Log LOG
protected ExploitProtectionService exploitProtectionService
public void doFilter(javax.servlet.ServletRequest baseRequest,
javax.servlet.ServletResponse baseResponse,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionCopyright © 2014. All Rights Reserved.