Class RestAuthenticationTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.rest.service.security.BaseAuthenticationTestCase
com.atlassian.crowd.acceptance.tests.rest.service.security.RestAuthenticationTest
Tests for /security/rest-login REST login endpoint.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.crowd.acceptance.tests.rest.service.security.BaseAuthenticationTestCase
BaseAuthenticationTestCase.ContinueLoginRequestSpecification, BaseAuthenticationTestCase.LoginRequestSpecification, BaseAuthenticationTestCase.LoginRequestSpecificationBase, BaseAuthenticationTestCase.LoginRequestSpecificationImpl
-
Field Summary
Fields inherited from class com.atlassian.crowd.acceptance.tests.rest.service.security.BaseAuthenticationTestCase
CHANGE_EXPIRED_PASSWORD_PAGE, DEFAULT_START_PAGE, fixture, GAPPS_APPLICATION, LOGIN_LOCATION, NO_COOKIES, REST_ENDPOINT, SECURE_RESOURCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class com.atlassian.crowd.acceptance.tests.rest.service.security.BaseAuthenticationTestCase
assertRedirectTo, getLoginError, getWithoutRedirects, loginRequest
-
Constructor Details
-
RestAuthenticationTest
public RestAuthenticationTest()
-
-
Method Details
-
shouldReturnUnauthorizedCodeForInvalidLogin
public void shouldReturnUnauthorizedCodeForInvalidLogin() -
shouldReturnUnauthorizedCodeForInvalidPassword
public void shouldReturnUnauthorizedCodeForInvalidPassword() -
shouldReturnUnauthorizedCodeForInvalidLoginWhenLastDirNotWorking
public void shouldReturnUnauthorizedCodeForInvalidLoginWhenLastDirNotWorking() -
shouldReturnUnauthorizedCodeForExpiredPassword
public void shouldReturnUnauthorizedCodeForExpiredPassword() -
shouldReturnOkCodeForValidLogin
public void shouldReturnOkCodeForValidLogin() -
shouldSetRememberMeCookieWhenRequested
public void shouldSetRememberMeCookieWhenRequested() -
shouldClearCookiesAfterSuccessfulLogin
public void shouldClearCookiesAfterSuccessfulLogin() -
shouldClearCookiesAfterFailedLogin
public void shouldClearCookiesAfterFailedLogin() -
shouldClearCookiesAfterExpiredLogin
public void shouldClearCookiesAfterExpiredLogin() -
shouldSupportExpiredPasswordChangePage
public void shouldSupportExpiredPasswordChangePage() -
shouldReturnForbiddenCodeWhenXsrfProtectionsMissing
public void shouldReturnForbiddenCodeWhenXsrfProtectionsMissing() -
shouldNotLoginToGoogleApps
-
shouldLoginToGoogleApps
-