public class XsrfRequestValidatorImpl extends Object implements XsrfRequestValidator
XsrfHeaderValidator.TOKEN_HEADER
.Constructor and Description |
---|
XsrfRequestValidatorImpl(XsrfTokenValidator tokenValidator) |
Modifier and Type | Method and Description |
---|---|
boolean |
validateRequestPassesXsrfChecks(javax.servlet.http.HttpServletRequest request)
Returns true iff the given request has a valid xsrf token or a
valid xsrf header.
|
public XsrfRequestValidatorImpl(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.