Class AuthenticationModule

    • Constructor Detail

      • AuthenticationModule

        public AuthenticationModule()
    • Method Detail

      • configure

        protected void configure()
        Overrides:
        configure in class com.google.inject.AbstractModule
      • provideAuthenticationApi

        @Provides
        @Singleton
        protected final AuthenticationApi provideAuthenticationApi​(com.google.inject.Injector i,
                                                                   @Named("jclouds.keystone.version")
                                                                   String keystoneVersion)
      • provideAuthenticationMethods

        @Provides
        @Singleton
        protected final Map<String,​com.google.common.base.Function<Credentials,​AuthInfo>> provideAuthenticationMethods​(com.google.inject.Injector i)
      • authenticationMethods

        protected Map<String,​com.google.common.base.Function<Credentials,​AuthInfo>> authenticationMethods​(com.google.inject.Injector i)
      • authenticationMethodForCredentialType

        @Provides
        @Singleton
        protected final com.google.common.base.Function<Credentials,​AuthInfo> authenticationMethodForCredentialType​(@Named("jclouds.keystone.credential-type")
                                                                                                                          String credentialType,
                                                                                                                          Map<String,​com.google.common.base.Function<Credentials,​AuthInfo>> authenticationMethods)
      • provideAuthInfoCache

        @Provides
        @Singleton
        public final com.google.common.cache.LoadingCache<Credentials,​AuthInfo> provideAuthInfoCache​(com.google.common.base.Function<Credentials,​AuthInfo> getAccess)
      • provideAuthInfoSupplier

        @Provides
        @Singleton
        protected final com.google.common.base.Supplier<AuthInfo> provideAuthInfoSupplier​(com.google.common.cache.LoadingCache<Credentials,​AuthInfo> cache,
                                                                                          com.google.common.base.Supplier<Credentials> creds)