@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.
|
toString
public EC2PopulateDefaultLoginCredentialsForImageStrategy()
@Inject public EC2PopulateDefaultLoginCredentialsForImageStrategy(@Nullable@Named(value="image") LoginCredentials creds, Map<String,Credentials> credentialStore, Map<OsFamily,LoginCredentials> osFamilyToCredentials)
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-2016 The Apache Software Foundation. All Rights Reserved.