Package com.atlassian.sal.bamboo.xsrf
Class BambooDelegatingXsrfTokenValidator
java.lang.Object
com.atlassian.sal.core.xsrf.IndependentXsrfTokenValidator
com.atlassian.sal.bamboo.xsrf.BambooDelegatingXsrfTokenValidator
- All Implemented Interfaces:
com.atlassian.sal.api.xsrf.XsrfTokenValidator
@Component
public class BambooDelegatingXsrfTokenValidator
extends com.atlassian.sal.core.xsrf.IndependentXsrfTokenValidator
-
Field Summary
Fields inherited from class com.atlassian.sal.core.xsrf.IndependentXsrfTokenValidator
XSRF_PARAM_NAME
-
Constructor Summary
ConstructorDescriptionBambooDelegatingXsrfTokenValidator
(com.atlassian.sal.api.xsrf.XsrfTokenAccessor accessor) -
Method Summary
Modifier and TypeMethodDescriptionboolean
validateFormEncodedToken
(javax.servlet.http.HttpServletRequest httpServletRequest) Methods inherited from class com.atlassian.sal.core.xsrf.IndependentXsrfTokenValidator
getXsrfParameterName
-
Constructor Details
-
BambooDelegatingXsrfTokenValidator
@Autowired public BambooDelegatingXsrfTokenValidator(com.atlassian.sal.api.xsrf.XsrfTokenAccessor accessor)
-
-
Method Details
-
validateFormEncodedToken
public boolean validateFormEncodedToken(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
validateFormEncodedToken
in interfacecom.atlassian.sal.api.xsrf.XsrfTokenValidator
- Overrides:
validateFormEncodedToken
in classcom.atlassian.sal.core.xsrf.IndependentXsrfTokenValidator
-