@Singleton public class ParseVAppTemplateDescriptionToGetDefaultLoginCredentials extends ReturnCredentialsBoundToImage
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
static Pattern |
USER_PASSWORD_PATTERN |
credentialStore, creds, osFamilyToCredentials
Constructor and Description |
---|
ParseVAppTemplateDescriptionToGetDefaultLoginCredentials(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
@Named(value="jclouds.compute") protected Logger logger
public static final Pattern USER_PASSWORD_PATTERN
@Inject public ParseVAppTemplateDescriptionToGetDefaultLoginCredentials(@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-2013 jclouds. All Rights Reserved.