public class RestAuthenticationTest extends BaseAuthenticationTestCase
BaseAuthenticationTestCase.ContinueLoginRequestSpecification, BaseAuthenticationTestCase.LoginRequestSpecification, BaseAuthenticationTestCase.LoginRequestSpecificationBase, BaseAuthenticationTestCase.LoginRequestSpecificationImpl
CHANGE_EXPIRED_PASSWORD_PAGE, DEFAULT_START_PAGE, fixture, GAPPS_APPLICATION, LOGIN_LOCATION, NO_COOKIES, REST_ENDPOINT, SECURE_RESOURCE
Constructor and Description |
---|
RestAuthenticationTest() |
Modifier and Type | Method and Description |
---|---|
void |
shouldClearCookiesAfterExpiredLogin() |
void |
shouldClearCookiesAfterFailedLogin() |
void |
shouldClearCookiesAfterSuccessfulLogin() |
void |
shouldLoginToGoogleApps() |
void |
shouldNotLoginToGoogleApps() |
void |
shouldReturnForbiddenCodeWhenXsrfProtectionsMissing() |
void |
shouldReturnOkCodeForValidLogin() |
void |
shouldReturnUnauthorizedCodeForExpiredPassword() |
void |
shouldReturnUnauthorizedCodeForInvalidLogin() |
void |
shouldReturnUnauthorizedCodeForInvalidLoginWhenLastDirNotWorking() |
void |
shouldReturnUnauthorizedCodeForInvalidPassword() |
void |
shouldSetRememberMeCookieWhenRequested() |
void |
shouldSupportExpiredPasswordChangePage() |
assertRedirectTo, getLoginError, getWithoutRedirects, loginRequest
public void shouldReturnUnauthorizedCodeForInvalidLogin()
public void shouldReturnUnauthorizedCodeForInvalidPassword()
public void shouldReturnUnauthorizedCodeForInvalidLoginWhenLastDirNotWorking()
public void shouldReturnUnauthorizedCodeForExpiredPassword()
public void shouldReturnOkCodeForValidLogin()
public void shouldSetRememberMeCookieWhenRequested()
public void shouldClearCookiesAfterSuccessfulLogin()
public void shouldClearCookiesAfterFailedLogin()
public void shouldClearCookiesAfterExpiredLogin()
public void shouldSupportExpiredPasswordChangePage()
public void shouldReturnForbiddenCodeWhenXsrfProtectionsMissing()
public void shouldNotLoginToGoogleApps() throws MalformedURLException, URISyntaxException
public void shouldLoginToGoogleApps() throws MalformedURLException, URISyntaxException
Copyright © 2021 Atlassian. All rights reserved.