public static interface XsrfCheck.Submission
Modifier and Type | Method and Description |
---|---|
void |
init(FuncTestHelperFactory funcTestHelperFactory)
Initialise the submission with state from the checker.
|
void |
removeToken()
Removes the token from the state so that we can test what happens when a "dodgy token" is submitted to an
action that is expecting a good token.
|
void |
submitRequest()
Submits a request to an action that presumably is XSRF-protected and requires a token to be present.
|
void init(FuncTestHelperFactory funcTestHelperFactory)
funcTestHelperFactory
- factoryvoid removeToken() throws Exception
Exception
- eCopyright © 2002-2015 Atlassian. All Rights Reserved.