Class CrowdXsrfTokenValidator

java.lang.Object
com.atlassian.sal.crowd.xsrf.CrowdXsrfTokenValidator
All Implemented Interfaces:
com.atlassian.sal.api.xsrf.XsrfTokenValidator

public class CrowdXsrfTokenValidator extends Object implements com.atlassian.sal.api.xsrf.XsrfTokenValidator
Crowd specific implementation of XsrfTokenValidator.
Since:
v2.3.2
  • Constructor Details

    • CrowdXsrfTokenValidator

      public CrowdXsrfTokenValidator(XsrfTokenGenerator xsrfTokenGenerator)
  • Method Details

    • validateFormEncodedToken

      public boolean validateFormEncodedToken(javax.servlet.http.HttpServletRequest request)
      Specified by:
      validateFormEncodedToken in interface com.atlassian.sal.api.xsrf.XsrfTokenValidator
    • getXsrfParameterName

      public String getXsrfParameterName()
      Specified by:
      getXsrfParameterName in interface com.atlassian.sal.api.xsrf.XsrfTokenValidator