Class KeystoneAuthenticationTests


  • public class KeystoneAuthenticationTests
    extends AbstractTest
    Tests the Identity/Keystone API version 3 Authentication
    • Constructor Detail

      • KeystoneAuthenticationTests

        public KeystoneAuthenticationTests()
    • Method Detail

      • authenticate_userId_password_projectId_Test

        public void authenticate_userId_password_projectId_Test()
                                                         throws Exception
        authenticates with userId+password++projectId
        Throws:
        Exception
      • authenticate_userId_password_projectId_projectDomainId_Test

        public void authenticate_userId_password_projectId_projectDomainId_Test()
                                                                         throws Exception
        authenticates with userId+password+projectId+projectDomainId
        Throws:
        Exception
      • authenticate_userName_password_projectId_projectDomainId_Test

        public void authenticate_userName_password_projectId_projectDomainId_Test()
                                                                           throws Exception
        authenticates with userName+password+projectId+projectDomainId
        Throws:
        Exception
      • authenticate_userId_password_domainId_Test

        public void authenticate_userId_password_domainId_Test()
                                                        throws Exception
        authenticates with userId+password+domainId
        Throws:
        Exception
      • authenticate_userName_password_domainId_Test

        public void authenticate_userName_password_domainId_Test()
                                                          throws Exception
        authenticates with userName+password+domainId
        Throws:
        Exception
      • authenticate_userId_password_domainName_Test

        public void authenticate_userId_password_domainName_Test()
                                                          throws Exception
        authenticates with userId+password+domainName
        Throws:
        Exception
      • auth_Token_Test

        public void auth_Token_Test()
                             throws Exception
        authenticates with a token
        Throws:
        Exception
      • authenticate_userId_password_unscoped_reauthenticate_Test

        public void authenticate_userId_password_unscoped_reauthenticate_Test()
                                                                       throws Exception
        get an unscoped token, then reauthenticate with it
        Throws:
        Exception
      • authenticate_userId_password_unscopedTokenToScopedToken_Test

        public void authenticate_userId_password_unscopedTokenToScopedToken_Test()
                                                                          throws Exception
        get an unscoped token, then use it to get a scoped token
        Throws:
        Exception
      • authenticate_userId_password_domain_region_Test

        public void authenticate_userId_password_domain_region_Test()
                                                             throws Exception
        authenticates in another existing region
        Throws:
        Exception
      • authenticate_userId_password_domain_regionInvalid_Test

        public void authenticate_userId_password_domain_regionInvalid_Test()
                                                                    throws Exception
        attempt authenticate in a non-existing region results in an RegionEndpointNotFoundException
        Throws:
        Exception
      • reAuthentication_Test

        public void reAuthentication_Test()
                                   throws Exception
        reAuthenticate after authorizationError e.g. the token expired
        Throws:
        Exception
      • authenticate_token_unscoped

        public void authenticate_token_unscoped()
                                         throws Exception
        Throws:
        Exception