public class CredentialUtils extends Object
Constructor and Description |
---|
CredentialUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isPrivateKeyCredential(Credentials credentials) |
static boolean |
isPrivateKeyCredential(String credential) |
static boolean |
isPrivateKeyEncrypted(byte[] privateKey) |
static Credentials |
overrideCredentialsIfSupplied(Credentials defaultCredentials,
Credentials overridingCredentials) |
public static Credentials overrideCredentialsIfSupplied(Credentials defaultCredentials, @Nullable Credentials overridingCredentials)
public static boolean isPrivateKeyCredential(Credentials credentials)
public static boolean isPrivateKeyCredential(String credential)
public static boolean isPrivateKeyEncrypted(byte[] privateKey)
Copyright © 2009-2013 jclouds. All Rights Reserved.