org.jclouds.util
Class CredentialUtils

java.lang.Object
  extended by org.jclouds.util.CredentialUtils

public class CredentialUtils
extends Object

Author:
Adrian Cole

Constructor Summary
CredentialUtils()
           
 
Method Summary
static boolean isPrivateKeyCredential(Credentials credentials)
           
static boolean isPrivateKeyEncrypted(byte[] privateKey)
           
static Credentials overrideCredentialsIfSupplied(Credentials defaultCredentials, Credentials overridingCredentials)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialUtils

public CredentialUtils()
Method Detail

overrideCredentialsIfSupplied

public static Credentials overrideCredentialsIfSupplied(Credentials defaultCredentials,
                                                        @Nullable
                                                        Credentials overridingCredentials)

isPrivateKeyCredential

public static boolean isPrivateKeyCredential(Credentials credentials)

isPrivateKeyEncrypted

public static boolean isPrivateKeyEncrypted(byte[] privateKey)


Copyright © 2009-2011 jclouds. All Rights Reserved.