@PublicApi
public interface XsrfInvocationChecker
Modifier and Type | Field and Description |
---|---|
static String |
REQUIRE_SECURITY_TOKEN
This is the same name that Confluences uses in their webwork2 world so we are using the same name for synergy
reasons
|
static String |
X_ATLASSIAN_TOKEN |
Modifier and Type | Method and Description |
---|---|
XsrfCheckResult |
checkActionInvocation(webwork.action.Action action,
Map<String,?> parameters)
Checks that the action about to be executed has been invoked within the correct XSRF parameters.
|
XsrfCheckResult |
checkWebRequestInvocation(javax.servlet.http.HttpServletRequest httpServletRequest)
Checks that the web request contains the correct XSRF parameters.
|
static final String REQUIRE_SECURITY_TOKEN
static final String X_ATLASSIAN_TOKEN
XsrfCheckResult checkActionInvocation(webwork.action.Action action, Map<String,?> parameters)
RequiresXsrfCheck
.action
- the ActionSupport
in play. Cannot be null.parameters
- the parameters this has been called with. Cannot be null.XsrfCheckResult checkWebRequestInvocation(javax.servlet.http.HttpServletRequest httpServletRequest)
httpServletRequest
- the HttpServletRequest
in play. Can't be null.Copyright © 2002-2017 Atlassian. All Rights Reserved.