| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NONCE_MAP |
static java.lang.String |
PARAMETER |
| Constructor and Description |
|---|
CsrfFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllow(java.lang.String entry)
Adds an allowed URL, without the check
|
void |
destroy()
Any cleanup for the filter.
|
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain nextFilter)
doFilter performs the actual work of a filter, either modifying
the request or the response.
|
void |
init(FilterConfig config)
Initialize the filter.
|
public static final java.lang.String PARAMETER
public static final java.lang.String NONCE_MAP
@Configurable public void addAllow(java.lang.String entry)
public void init(FilterConfig config)
Filterpublic void doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter) throws ServletException, java.io.IOException
FilterdoFilter in interface Filterrequest - the servlet requestresponse - the servlet responsenextFilter - the next filter in the chainServletExceptionjava.io.IOException