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
public final class SwiftAuthenticationModule extends AuthenticationModule
WhenKeystoneProperties.CREDENTIAL_TYPE
is set totempAuthCredentials
, do not use Keystone. Instead, bridge TempAuth to Keystone by faking a service catalog out of the storage url. Theendpoint
must be set to the TempAuth url, usually ending inauth/v1.0/
.
-
-
Constructor Summary
Constructors Constructor Description SwiftAuthenticationModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,com.google.common.base.Function<Credentials,AuthInfo>>
authenticationMethods(com.google.inject.Injector i)
protected void
configure()
-
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, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configure
in classAuthenticationModule
-
authenticationMethods
protected Map<String,com.google.common.base.Function<Credentials,AuthInfo>> authenticationMethods(com.google.inject.Injector i)
- Overrides:
authenticationMethods
in classAuthenticationModule
-
-