public static abstract class

XsrfCheck.AbstractFormSubmission

extends Object
implements XsrfCheck.Submission
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.security.xsrf.XsrfCheck.AbstractFormSubmission
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Base class for form-based submission

Summary

Fields
protected FuncTestHelperFactory funcTestHelperFactory
Public Constructors
AbstractFormSubmission()
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.security.xsrf.XsrfCheck.Submission

Fields

protected FuncTestHelperFactory funcTestHelperFactory

Public Constructors

public AbstractFormSubmission ()

Public Methods

public void init (FuncTestHelperFactory funcTestHelperFactory)

Initialise the submission with state from the checker.

Parameters
funcTestHelperFactory factory

public 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.