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