@Singleton public class ParseVAppTemplateDescriptionToGetDefaultLoginCredentials extends ReturnCredentialsBoundToImage
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
static Pattern |
USER_PASSWORD_PATTERN |
credentialStore, creds
Constructor and Description |
---|
ParseVAppTemplateDescriptionToGetDefaultLoginCredentials(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 static final Pattern USER_PASSWORD_PATTERN
@Inject public ParseVAppTemplateDescriptionToGetDefaultLoginCredentials(@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.