org.jclouds.trmk.vcloud_0_8.compute.strategy
Class ParseVAppTemplateDescriptionToGetDefaultLoginCredentials

java.lang.Object
  extended by org.jclouds.trmk.vcloud_0_8.compute.strategy.ParseVAppTemplateDescriptionToGetDefaultLoginCredentials
All Implemented Interfaces:
PopulateDefaultLoginCredentialsForImageStrategy

@Singleton
public class ParseVAppTemplateDescriptionToGetDefaultLoginCredentials
extends Object
implements PopulateDefaultLoginCredentialsForImageStrategy

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
static Pattern USER_PASSWORD_PATTERN
           
 
Constructor Summary
ParseVAppTemplateDescriptionToGetDefaultLoginCredentials()
           
 
Method Summary
 Credentials execute(Object resourceToAuthenticate)
          Processes the resource to determine credentials.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.compute")
protected Logger logger

USER_PASSWORD_PATTERN

public static final Pattern USER_PASSWORD_PATTERN
Constructor Detail

ParseVAppTemplateDescriptionToGetDefaultLoginCredentials

public ParseVAppTemplateDescriptionToGetDefaultLoginCredentials()
Method Detail

execute

public Credentials execute(Object resourceToAuthenticate)
Description copied from interface: PopulateDefaultLoginCredentialsForImageStrategy
Processes the resource to determine credentials.

Specified by:
execute in interface PopulateDefaultLoginCredentialsForImageStrategy
Parameters:
resourceToAuthenticate - this can be any resource, such as an image, running server instance or other. It's the responsibility of an implementation to apply the cloud-specific logic.
Returns:
credentials object. Note: the key may not be set, but the identity must be set


Copyright © 2009-2011 jclouds. All Rights Reserved.