Class CredentialTypes
- java.lang.Object
-
- org.jclouds.openstack.keystone.auth.config.CredentialTypes
-
- Direct Known Subclasses:
CloudIdentityCredentialTypes
public class CredentialTypes extends Object
Configuration properties and constants used in Keystone connections.
-
-
Field Summary
Fields Modifier and Type Field Description static String
API_ACCESS_KEY_CREDENTIALS
static String
PASSWORD_CREDENTIALS
static String
TOKEN_CREDENTIALS
-
Constructor Summary
Constructors Constructor Description CredentialTypes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> String
credentialTypeOf(T input)
static CredentialType
findCredentialType(Class<?> input)
Find an annotation in teh given class or their parents.static <T> Map<String,T>
indexByCredentialType(Iterable<T> iterable)
-
-
-
Field Detail
-
API_ACCESS_KEY_CREDENTIALS
public static final String API_ACCESS_KEY_CREDENTIALS
- See Also:
- Constant Field Values
-
PASSWORD_CREDENTIALS
public static final String PASSWORD_CREDENTIALS
- See Also:
- Constant Field Values
-
TOKEN_CREDENTIALS
public static final String TOKEN_CREDENTIALS
- See Also:
- Constant Field Values
-
-
Method Detail
-
credentialTypeOf
public static <T> String credentialTypeOf(T input)
-
findCredentialType
public static CredentialType findCredentialType(Class<?> input)
Find an annotation in teh given class or their parents. We need this since AutoValue classes inherit the classes we define.
-
-