com.atlassian.jira.functest.framework.security.xsrf
Class XsrfCheck.AbstractFormSubmission
java.lang.Object
com.atlassian.jira.functest.framework.security.xsrf.XsrfCheck.AbstractFormSubmission
- All Implemented Interfaces:
- XsrfCheck.Submission
- Direct Known Subclasses:
- XsrfCheck.FormSubmission, XsrfCheck.FormSubmissionWithId
- Enclosing class:
- XsrfCheck
public abstract static class XsrfCheck.AbstractFormSubmission
- extends Object
- implements XsrfCheck.Submission
Base class for form-based submission
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
funcTestHelperFactory
protected FuncTestHelperFactory funcTestHelperFactory
XsrfCheck.AbstractFormSubmission
public XsrfCheck.AbstractFormSubmission()
removeToken
public void removeToken()
- Description copied from interface:
XsrfCheck.Submission
- 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.
- Specified by:
removeToken
in interface XsrfCheck.Submission
init
public void init(FuncTestHelperFactory funcTestHelperFactory)
- Description copied from interface:
XsrfCheck.Submission
- Initialise the submission with state from the checker.
- Specified by:
init
in interface XsrfCheck.Submission
- Parameters:
funcTestHelperFactory
- factory
Copyright © 2002-2013 Atlassian. All Rights Reserved.