Class CrowdXsrfProtectionTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdXsrfProtectionTest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
applinksClient, BACKUP_RESOURCE, BATCHED_TEST_RULE, COOKIE_ABSENT, i18n, IMMUTABLE_USER_NAME, IMMUTABLE_USER_PW, JSESSIONID_COOKIE, log, REMEMBER_ME_COOKIE, restAdminClient, SSO_COOKIE, TEST_USER_DISPLAYNAME, TEST_USER_NAME, TEST_USER_PW, testedProduct, testkitClient, webDriverRules
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
assertAtRelativePath, assertAtURIContaining, assertAtURIEndingWith, assertAtUrl, assertHasError, assertHasErrorKey, bind, bind, clearAndInvalidateSsoCookieIfPresent, clearAndInvalidateSsoCookieOrFail, deleteAllCookies, deleteCookie, expectState, getBaseUrl, getBaseUrlWithoutPort, getCookie, getCookieOrThrow, getCurrentUrl, getDriver, getSsoCookieOrFail, getTestkitClient, hasCookie, hasSsoCookie, intendToModifyLdapData, loginAsExpiredPasswordUser, loginAsNonAdmin, loginAsNonAdmin, loginAsSysAdmin, loginAsSysAdmin, loginAsSysAdminWithRememberMe, loginAsUser, loginExpectingFailure, loginImmutableUser, loginImmutableUser, loginTestUser, loginTestUser, logout, manage, navigateToAndBind, navigateToUrl, restoreBaseSetup, restoreCrowdFromXML, restoreCrowdFromXML, setUp, waitForUrl, waitUntilAsyncFinished
-
Constructor Details
-
CrowdXsrfProtectionTest
public CrowdXsrfProtectionTest()
-
-
Method Details
-
setup
public void setup() -
shouldHaveNoActionsMutatingDataWithoutXsrfCheck
public void shouldHaveNoActionsMutatingDataWithoutXsrfCheck() -
shouldHaveXsrfErrorOnPageWhenTokenNotPresent
public void shouldHaveXsrfErrorOnPageWhenTokenNotPresent() -
loginXsrfProtection
- Throws:
Exception
-
shouldXsrfProtectLoginEndpoint
public void shouldXsrfProtectLoginEndpoint()
-