org.jclouds.openstack.swift.config
Class SwiftRestClientModule.GetAuthenticationResponseForStorage

java.lang.Object
  extended by org.jclouds.openstack.config.OpenStackAuthenticationModule.GetAuthenticationResponse
      extended by org.jclouds.openstack.swift.config.SwiftRestClientModule.GetAuthenticationResponseForStorage
All Implemented Interfaces:
com.google.common.base.Supplier<OpenStackAuthAsyncClient.AuthenticationResponse>
Enclosing class:
SwiftRestClientModule

@Singleton
public static class SwiftRestClientModule.GetAuthenticationResponseForStorage
extends OpenStackAuthenticationModule.GetAuthenticationResponse


Field Summary
 
Fields inherited from class org.jclouds.openstack.config.OpenStackAuthenticationModule.GetAuthenticationResponse
client, key, user
 
Constructor Summary
SwiftRestClientModule.GetAuthenticationResponseForStorage(AsyncClientFactory factory, String user, String key)
           
 
Method Summary
protected  Future<OpenStackAuthAsyncClient.AuthenticationResponse> authenticate()
           
 
Methods inherited from class org.jclouds.openstack.config.OpenStackAuthenticationModule.GetAuthenticationResponse
get
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwiftRestClientModule.GetAuthenticationResponseForStorage

@Inject
public SwiftRestClientModule.GetAuthenticationResponseForStorage(AsyncClientFactory factory,
                                                                        @Named(value="jclouds.identity")
                                                                        String user,
                                                                        @Named(value="jclouds.credential")
                                                                        String key)
Method Detail

authenticate

protected Future<OpenStackAuthAsyncClient.AuthenticationResponse> authenticate()
Overrides:
authenticate in class OpenStackAuthenticationModule.GetAuthenticationResponse


Copyright © 2009-2011 jclouds. All Rights Reserved.