com.atlassian.sal.jira.xsrf
Class JiraXsrfTokenAccessor
java.lang.Object
com.atlassian.sal.jira.xsrf.JiraXsrfTokenAccessor
- All Implemented Interfaces:
- com.atlassian.sal.api.xsrf.XsrfTokenAccessor
public class JiraXsrfTokenAccessor
- extends Object
- implements com.atlassian.sal.api.xsrf.XsrfTokenAccessor
Reads the token from a given http request and can add a new xsrf token to the cookie of a request.
Method Summary |
String |
getXsrfToken(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
boolean create)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraXsrfTokenAccessor
public JiraXsrfTokenAccessor(XsrfTokenGenerator xsrfTokenGenerator)
getXsrfToken
public String getXsrfToken(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
boolean create)
- Specified by:
getXsrfToken
in interface com.atlassian.sal.api.xsrf.XsrfTokenAccessor
Copyright © 2002-2012 Atlassian. All Rights Reserved.