org.jclouds.compute.strategy
Interface PopulateDefaultLoginCredentialsForImageStrategy

All Known Implementing Classes:
EC2PopulateDefaultLoginCredentialsForImageStrategy, GetLoginCredentialsFromGuestConfiguration, GoGridResolveImagesModule.GoGridPopulateDefaultLoginCredentialsForImageStrategy, ParseVAppTemplateDescriptionToGetDefaultLoginCredentials, ReturnNullCredentials

public interface PopulateDefaultLoginCredentialsForImageStrategy

Author:
Oleksiy Yarmula

Method Summary
 Credentials execute(Object resourceToAuthenticate)
          Processes the resource to determine credentials.
 

Method Detail

execute

Credentials execute(Object resourceToAuthenticate)
Processes the resource to determine credentials.

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.