@Singleton public class EC2PopulateDefaultLoginCredentialsForImageStrategy extends ReturnCredentialsBoundToImage
credentialStore, creds
Constructor and Description |
---|
EC2PopulateDefaultLoginCredentialsForImageStrategy() |
EC2PopulateDefaultLoginCredentialsForImageStrategy(LoginCredentials creds,
Map<String,Credentials> credentialStore) |
Modifier and Type | Method and Description |
---|---|
LoginCredentials |
apply(Object resourceToAuthenticate)
Processes the cloud-specific resources to determine the login credentials.
|
execute
public EC2PopulateDefaultLoginCredentialsForImageStrategy()
@Inject public EC2PopulateDefaultLoginCredentialsForImageStrategy(@Nullable@Named(value="image") LoginCredentials creds, Map<String,Credentials> credentialStore)
public LoginCredentials apply(Object resourceToAuthenticate)
PopulateDefaultLoginCredentialsForImageStrategy
apply
in interface com.google.common.base.Function<Object,LoginCredentials>
apply
in interface PopulateDefaultLoginCredentialsForImageStrategy
apply
in class ReturnCredentialsBoundToImage
resourceToAuthenticate
- this is the cloud-specific representation of the image object.Copyright © 2009-2012 jclouds. All Rights Reserved.