org.jclouds.cloudstack.functions
Class WindowsLoginCredentialsFromEncryptedData

java.lang.Object
  extended by org.jclouds.cloudstack.functions.WindowsLoginCredentialsFromEncryptedData
All Implemented Interfaces:
com.google.common.base.Function<EncryptedPasswordAndPrivateKey,org.jclouds.domain.LoginCredentials>

public class WindowsLoginCredentialsFromEncryptedData
extends Object
implements com.google.common.base.Function<EncryptedPasswordAndPrivateKey,org.jclouds.domain.LoginCredentials>

Given an encrypted Windows Administrator password and the decryption key, return a LoginCredentials instance.

Author:
Richard Downer, Andrei Savu

Constructor Summary
WindowsLoginCredentialsFromEncryptedData(org.jclouds.crypto.Crypto crypto)
           
 
Method Summary
 org.jclouds.domain.LoginCredentials apply(EncryptedPasswordAndPrivateKey dataAndKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

WindowsLoginCredentialsFromEncryptedData

@Inject
public WindowsLoginCredentialsFromEncryptedData(org.jclouds.crypto.Crypto crypto)
Method Detail

apply

public org.jclouds.domain.LoginCredentials apply(@Nullable
                                                 EncryptedPasswordAndPrivateKey dataAndKey)
Specified by:
apply in interface com.google.common.base.Function<EncryptedPasswordAndPrivateKey,org.jclouds.domain.LoginCredentials>


Copyright © 2009-2012 jclouds. All Rights Reserved.