public class KeystoneAuthenticationModule
extends com.google.inject.AbstractModule
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
KeystoneAuthenticationModule.RegionModule  | 
static class  | 
KeystoneAuthenticationModule.ZoneModule  | 
| Constructor and Description | 
|---|
KeystoneAuthenticationModule()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected com.google.common.base.Function<Credentials,Access> | 
authenticationMethodForCredentialType(String credentialType,
                                     Map<String,com.google.common.base.Function<Credentials,Access>> authenticationMethods)  | 
protected Map<String,com.google.common.base.Function<Credentials,Access>> | 
authenticationMethods(com.google.inject.Injector i)  | 
protected void | 
bindAuthenticationApi()  | 
protected void | 
configure()  | 
com.google.common.cache.LoadingCache<Credentials,Access> | 
provideAccessCache(com.google.common.base.Function<Credentials,Access> getAccess)  | 
protected com.google.common.base.Supplier<Access> | 
provideAccessSupplier(com.google.common.cache.LoadingCache<Credentials,Access> cache,
                     Credentials creds)  | 
protected com.google.common.base.Supplier<String> | 
provideAuthenticationTokenCache(com.google.common.base.Supplier<Access> supplier)
borrowing concurrency code to ensure that caching takes place properly 
 | 
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected void configure()
configure in class com.google.inject.AbstractModuleprotected void bindAuthenticationApi()
@Provides @Singleton protected com.google.common.base.Supplier<String> provideAuthenticationTokenCache(com.google.common.base.Supplier<Access> supplier) throws InterruptedException, ExecutionException, TimeoutException
@Provides @Singleton protected Map<String,com.google.common.base.Function<Credentials,Access>> authenticationMethods(com.google.inject.Injector i)
@Provides @Singleton protected com.google.common.base.Function<Credentials,Access> authenticationMethodForCredentialType(@Named(value="jclouds.keystone.credential-type") String credentialType, Map<String,com.google.common.base.Function<Credentials,Access>> authenticationMethods)
@Provides @Singleton public com.google.common.cache.LoadingCache<Credentials,Access> provideAccessCache(com.google.common.base.Function<Credentials,Access> getAccess)
@Provides @Singleton protected com.google.common.base.Supplier<Access> provideAccessSupplier(com.google.common.cache.LoadingCache<Credentials,Access> cache, Credentials creds)
Copyright © 2009-2013 jclouds. All Rights Reserved.