XsrfRequestValidator
instead.public class CsrfRequestValidator extends Object implements XsrfRequestValidator
XsrfHeaderValidator.TOKEN_HEADER
.Constructor and Description |
---|
CsrfRequestValidator(XsrfTokenValidator tokenValidator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
validateRequestPassesXsrfChecks(javax.servlet.http.HttpServletRequest request)
Deprecated.
Returns true iff the given request has a valid csrf token or a
valid csrf header.
|
public CsrfRequestValidator(XsrfTokenValidator tokenValidator)
public boolean validateRequestPassesXsrfChecks(javax.servlet.http.HttpServletRequest request)
validateRequestPassesXsrfChecks
in interface XsrfRequestValidator
request
- the request to check.Copyright © 2015 Atlassian. All rights reserved.