public class KeystoneAuthenticationTests extends AbstractTest
AbstractTest.ServiceJSON_ACCESS, JSON_TOKEN, osv2, osv3, server, TOKEN_ID| Constructor and Description |
|---|
KeystoneAuthenticationTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
auth_Token_Test()
authenticates with a token
|
void |
authenticate_token_unscoped() |
void |
authenticate_userId_password_domain_region_Test()
authenticates in another existing region
|
void |
authenticate_userId_password_domain_regionInvalid_Test()
attempt authenticate in a non-existing region results in an RegionEndpointNotFoundException
|
void |
authenticate_userId_password_domainId_Test()
authenticates with userId+password+domainId
|
void |
authenticate_userId_password_domainName_Test()
authenticates with userId+password+domainName
|
void |
authenticate_userId_password_projectId_projectDomainId_Test()
authenticates with userId+password+projectId+projectDomainId
|
void |
authenticate_userId_password_projectId_Test()
authenticates with userId+password++projectId
|
void |
authenticate_userId_password_unscoped_reauthenticate_Test()
get an unscoped token, then reauthenticate with it
|
void |
authenticate_userId_password_unscopedTokenToScopedToken_Test()
get an unscoped token, then use it to get a scoped token
|
void |
authenticate_userName_password_domainId_Test()
authenticates with userName+password+domainId
|
void |
authenticate_userName_password_projectId_projectDomainId_Test()
authenticates with userName+password+projectId+projectDomainId
|
void |
reAuthentication_Test()
reAuthenticate after authorizationError e.g.
|
protected AbstractTest.Service |
service() |
afterTest, associateClientV2, associateClientV3, authURL, getResource, osv2, osv3, respondWith, respondWith, respondWith, respondWith, respondWith, respondWithCodeAndResource, respondWithHeaderAndResource, startServer, takeRequestprotected AbstractTest.Service service()
service in class AbstractTestpublic void authenticate_userId_password_projectId_Test()
throws Exception
Exceptionpublic void authenticate_userId_password_projectId_projectDomainId_Test()
throws Exception
Exceptionpublic void authenticate_userName_password_projectId_projectDomainId_Test()
throws Exception
Exceptionpublic void authenticate_userId_password_domainId_Test()
throws Exception
Exceptionpublic void authenticate_userName_password_domainId_Test()
throws Exception
Exceptionpublic void authenticate_userId_password_domainName_Test()
throws Exception
Exceptionpublic void auth_Token_Test()
throws Exception
Exceptionpublic void authenticate_userId_password_unscoped_reauthenticate_Test()
throws Exception
Exceptionpublic void authenticate_userId_password_unscopedTokenToScopedToken_Test()
throws Exception
Exceptionpublic void authenticate_userId_password_domain_region_Test()
throws Exception
Exceptionpublic void authenticate_userId_password_domain_regionInvalid_Test()
throws Exception
Exceptionpublic void reAuthentication_Test()
throws Exception
ExceptionCopyright © 2020. All rights reserved.