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