|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface XsrfCheck.Submission
Used to define the implementation of removing a token from a request and sending a request
Method Summary | |
---|---|
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. |
Method Detail |
---|
void init(FuncTestHelperFactory funcTestHelperFactory)
funcTestHelperFactory
- factoryvoid removeToken() throws Exception
Exception
- evoid submitRequest() throws Exception
Exception
- e
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |