@Singleton public class AuthenticatePasswordCredentials extends BaseAuthenticator<PasswordCredentials>
Modifier and Type | Field and Description |
---|---|
protected AuthenticationApi |
api |
defaultTenantId, defaultTenantName, logger, requiresTenant
Constructor and Description |
---|
AuthenticatePasswordCredentials(AuthenticationApi api) |
Modifier and Type | Method and Description |
---|---|
protected Access |
authenticateWithTenantId(com.google.common.base.Optional<String> tenantId,
PasswordCredentials apiAccessKeyCredentials) |
protected Access |
authenticateWithTenantName(com.google.common.base.Optional<String> tenantName,
PasswordCredentials apiAccessKeyCredentials) |
PasswordCredentials |
createCredentials(String identity,
String credential) |
String |
toString() |
apply, checkPropertiesAreCompatible
protected final AuthenticationApi api
@Inject public AuthenticatePasswordCredentials(AuthenticationApi api)
protected Access authenticateWithTenantName(com.google.common.base.Optional<String> tenantName, PasswordCredentials apiAccessKeyCredentials)
authenticateWithTenantName
in class BaseAuthenticator<PasswordCredentials>
protected Access authenticateWithTenantId(com.google.common.base.Optional<String> tenantId, PasswordCredentials apiAccessKeyCredentials)
authenticateWithTenantId
in class BaseAuthenticator<PasswordCredentials>
public PasswordCredentials createCredentials(String identity, String credential)
createCredentials
in class BaseAuthenticator<PasswordCredentials>
Copyright © 2009-2013 jclouds. All Rights Reserved.