com.atlassian.sal.confluence.xsrf
Class ConfluenceXsrfTokenAccessor

java.lang.Object
  extended by com.atlassian.sal.confluence.xsrf.ConfluenceXsrfTokenAccessor
All Implemented Interfaces:
com.atlassian.sal.api.xsrf.XsrfTokenAccessor

public class ConfluenceXsrfTokenAccessor
extends java.lang.Object
implements com.atlassian.sal.api.xsrf.XsrfTokenAccessor


Constructor Summary
ConfluenceXsrfTokenAccessor(com.atlassian.xwork.XsrfTokenGenerator xsrfTokenGenerator)
           
 
Method Summary
 java.lang.String getXsrfToken(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean create)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceXsrfTokenAccessor

public ConfluenceXsrfTokenAccessor(com.atlassian.xwork.XsrfTokenGenerator xsrfTokenGenerator)
Method Detail

getXsrfToken

public java.lang.String getXsrfToken(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response,
                                     boolean create)
Specified by:
getXsrfToken in interface com.atlassian.sal.api.xsrf.XsrfTokenAccessor


Copyright © 2003-2014 Atlassian. All Rights Reserved.