Class BaseAuthenticator<C>
java.lang.Object
org.jclouds.openstack.keystone.auth.functions.BaseAuthenticator<C>
- All Implemented Interfaces:
com.google.common.base.Function<Credentials,
,AuthInfo> Function<Credentials,
AuthInfo>
- Direct Known Subclasses:
AuthenticateApiAccessKeyCredentials
,AuthenticateApiKeyCredentials
,AuthenticatePasswordCredentials
,AuthenticateTokenCredentials
public abstract class BaseAuthenticator<C>
extends Object
implements com.google.common.base.Function<Credentials,AuthInfo>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(Credentials input) abstract AuthInfo
authenticate
(TenantOrDomainAndCredentials<C> credentials) void
abstract C
createCredentials
(String identity, String credential) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Field Details
-
logger
-
defaultTenantName
-
defaultTenantId
-
requiresTenant
@Inject(optional=true) protected boolean requiresTenant -
scope
-
projectDomainName
-
projectDomainId
-
-
Constructor Details
-
BaseAuthenticator
public BaseAuthenticator()
-
-
Method Details
-
checkPropertiesAreCompatible
@PostConstruct public void checkPropertiesAreCompatible() -
apply
- Specified by:
apply
in interfacecom.google.common.base.Function<Credentials,
AuthInfo> - Specified by:
apply
in interfaceFunction<Credentials,
AuthInfo>
-
createCredentials
-
authenticate
-