Class RestAuthenticationTest

java.lang.Object
com.atlassian.crowd.acceptance.tests.rest.service.security.BaseAuthenticationTestCase
com.atlassian.crowd.acceptance.tests.rest.service.security.RestAuthenticationTest

public class RestAuthenticationTest extends BaseAuthenticationTestCase
Tests for /security/rest-login REST login endpoint.
  • 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

      public void shouldNotLoginToGoogleApps() throws MalformedURLException, URISyntaxException
      Throws:
      MalformedURLException
      URISyntaxException
    • shouldLoginToGoogleApps

      public void shouldLoginToGoogleApps() throws MalformedURLException, URISyntaxException
      Throws:
      MalformedURLException
      URISyntaxException