Class SwiftAuthenticationModule
java.lang.Object
com.google.inject.AbstractModule
org.jclouds.openstack.keystone.auth.config.AuthenticationModule
org.jclouds.openstack.swift.v1.config.SwiftAuthenticationModule
- All Implemented Interfaces:
com.google.inject.Module
When
KeystoneProperties.CREDENTIAL_TYPE
is set to
tempAuthCredentials
, do not use Keystone. Instead, bridge TempAuth to Keystone by faking a service catalog out of
the storage url. The endpoint
must be set to the TempAuth url, usually ending
in auth/v1.0/
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map
<String, com.google.common.base.Function<Credentials, AuthInfo>> authenticationMethods
(com.google.inject.Injector i) protected void
Methods inherited from class org.jclouds.openstack.keystone.auth.config.AuthenticationModule
authenticationApis, authenticationMethodForCredentialType, provideAuthenticationApi, provideAuthenticationMethods, provideAuthenticationTokenCache, provideAuthInfoCache, provideAuthInfoSupplier
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
SwiftAuthenticationModule
public SwiftAuthenticationModule()
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classAuthenticationModule
-
authenticationMethods
protected Map<String,com.google.common.base.Function<Credentials, authenticationMethodsAuthInfo>> (com.google.inject.Injector i) - Overrides:
authenticationMethods
in classAuthenticationModule
-