public class IndependentXsrfTokenValidator extends Object implements XsrfTokenValidator
| Modifier and Type | Field and Description |
|---|---|
static String |
XSRF_PARAM_NAME |
| Constructor and Description |
|---|
IndependentXsrfTokenValidator(XsrfTokenAccessor accessor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getXsrfParameterName()
Returns the name of the http parameter name that is used to store the xsrf token in the form.
|
boolean |
validateFormEncodedToken(javax.servlet.http.HttpServletRequest request)
Validate a form encoded token.
|
public static final String XSRF_PARAM_NAME
public IndependentXsrfTokenValidator(XsrfTokenAccessor accessor)
public boolean validateFormEncodedToken(javax.servlet.http.HttpServletRequest request)
XsrfTokenValidatorvalidateFormEncodedToken in interface XsrfTokenValidatorrequest - the request that contains the token.public String getXsrfParameterName()
XsrfTokenValidatorgetXsrfParameterName in interface XsrfTokenValidatorCopyright © 2018 Atlassian. All rights reserved.