org.jclouds.openstack.config
Class OpenStackAuthenticationModule.GetAuthenticationResponse
java.lang.Object
org.jclouds.openstack.config.OpenStackAuthenticationModule.GetAuthenticationResponse
- All Implemented Interfaces:
- com.google.common.base.Supplier<OpenStackAuthAsyncClient.AuthenticationResponse>
- Direct Known Subclasses:
- SwiftRestClientModule.GetAuthenticationResponseForStorage
- Enclosing class:
- OpenStackAuthenticationModule
@Singleton
public static class OpenStackAuthenticationModule.GetAuthenticationResponse
- extends Object
- implements com.google.common.base.Supplier<OpenStackAuthAsyncClient.AuthenticationResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected final OpenStackAuthAsyncClient client
user
protected final String user
key
protected final String key
OpenStackAuthenticationModule.GetAuthenticationResponse
@Inject
public OpenStackAuthenticationModule.GetAuthenticationResponse(AsyncClientFactory factory,
@Named(value="jclouds.identity")
String user,
@Named(value="jclouds.credential")
String key)
get
public OpenStackAuthAsyncClient.AuthenticationResponse get()
- Specified by:
get
in interface com.google.common.base.Supplier<OpenStackAuthAsyncClient.AuthenticationResponse>
authenticate
protected Future<OpenStackAuthAsyncClient.AuthenticationResponse> authenticate()
Copyright © 2009-2011 jclouds. All Rights Reserved.