Class ConfluenceXsrfTokenAccessor

  • All Implemented Interfaces:
    com.atlassian.sal.api.xsrf.XsrfTokenAccessor

    public class ConfluenceXsrfTokenAccessor
    extends Object
    implements com.atlassian.sal.api.xsrf.XsrfTokenAccessor
    • Constructor Detail

      • ConfluenceXsrfTokenAccessor

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

      • getXsrfToken

        public 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