com.atlassian.sal.core.xsrf
Class IndependentXsrfTokenValidator

java.lang.Object
  extended by com.atlassian.sal.core.xsrf.IndependentXsrfTokenValidator
All Implemented Interfaces:
XsrfTokenValidator

public class IndependentXsrfTokenValidator
extends Object
implements XsrfTokenValidator

XSRF token validator that manages its own tokens, not using the underlying applications XSRF tokens

Since:
2.4

Field Summary
static String XSRF_PARAM_NAME
           
 
Constructor Summary
IndependentXsrfTokenValidator(XsrfTokenAccessor accessor)
           
 
Method Summary
 String getXsrfParameterName()
           
 boolean validateFormEncodedToken(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XSRF_PARAM_NAME

public static final String XSRF_PARAM_NAME
See Also:
Constant Field Values
Constructor Detail

IndependentXsrfTokenValidator

public IndependentXsrfTokenValidator(XsrfTokenAccessor accessor)
Method Detail

validateFormEncodedToken

public boolean validateFormEncodedToken(javax.servlet.http.HttpServletRequest request)
Specified by:
validateFormEncodedToken in interface XsrfTokenValidator

getXsrfParameterName

public String getXsrfParameterName()
Specified by:
getXsrfParameterName in interface XsrfTokenValidator


Copyright © 2011 Atlassian. All Rights Reserved.