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 Modifier and Type Field Description protected StringdefaultTenantIdprotected StringdefaultTenantNameprotected Loggerloggerprotected StringprojectDomainIdprotected StringprojectDomainNameprotected booleanrequiresTenantprotected Stringscope 
- 
Constructor Summary
Constructors Constructor Description BaseAuthenticator() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AuthInfoapply(Credentials input)abstract AuthInfoauthenticate(TenantOrDomainAndCredentials<C> credentials)voidcheckPropertiesAreCompatible()abstract CcreateCredentials(String identity, String credential) 
 - 
 
- 
- 
Field Detail
- 
logger
protected Logger logger
 
- 
defaultTenantName
@Inject(optional=true) protected String defaultTenantName
 
- 
defaultTenantId
@Inject(optional=true) protected String defaultTenantId
 
- 
requiresTenant
@Inject(optional=true) protected boolean requiresTenant
 
- 
scope
@Inject(optional=true) protected String scope
 
- 
projectDomainName
@Inject(optional=true) protected String projectDomainName
 
- 
projectDomainId
@Inject(optional=true) protected String projectDomainId
 
 - 
 
- 
Method Detail
- 
checkPropertiesAreCompatible
@PostConstruct public void checkPropertiesAreCompatible()
 
- 
apply
public AuthInfo apply(Credentials input)
- Specified by:
 applyin interfacecom.google.common.base.Function<Credentials,AuthInfo>- Specified by:
 applyin interfaceFunction<Credentials,AuthInfo>
 
- 
authenticate
public abstract AuthInfo authenticate(TenantOrDomainAndCredentials<C> credentials)
 
 - 
 
 -