com.atlassian.jira.plugin.webfragment.contextproviders
Class XsrfTokenContextProvider
java.lang.Object
com.atlassian.jira.plugin.webfragment.contextproviders.XsrfTokenContextProvider
- All Implemented Interfaces:
- com.atlassian.plugin.web.ContextProvider
public class XsrfTokenContextProvider
- extends Object
- implements com.atlassian.plugin.web.ContextProvider
Context Provider that provides the xsrf token for the request.
Referenced by "${atl_token}" or ${atl_token_escaped} for the URL escaped version.
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsrfTokenContextProvider
public XsrfTokenContextProvider(XsrfTokenGenerator xsrfTokenGenerator)
init
public void init(Map<String,String> params)
throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interface com.atlassian.plugin.web.ContextProvider
- Throws:
com.atlassian.plugin.PluginParseException
getContextMap
public Map<String,Object> getContextMap(Map<String,Object> context)
- Specified by:
getContextMap
in interface com.atlassian.plugin.web.ContextProvider
Copyright © 2002-2014 Atlassian. All Rights Reserved.