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 org.jclouds.openstack.keystone.auth.config.AuthenticationModule
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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Map<String,com.google.common.base.Function<org.jclouds.domain.Credentials,org.jclouds.openstack.keystone.auth.domain.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SwiftAuthenticationModule

      public SwiftAuthenticationModule()
  • Method Details

    • configure

      protected void configure()
      Overrides:
      configure in class org.jclouds.openstack.keystone.auth.config.AuthenticationModule
    • authenticationMethods

      protected Map<String,com.google.common.base.Function<org.jclouds.domain.Credentials,org.jclouds.openstack.keystone.auth.domain.AuthInfo>> authenticationMethods(com.google.inject.Injector i)
      Overrides:
      authenticationMethods in class org.jclouds.openstack.keystone.auth.config.AuthenticationModule