Enum CredentialTypeEnum
- java.lang.Object
-
- java.lang.Enum<CredentialTypeEnum>
-
- org.wildfly.extension.picketlink.idm.model.CredentialTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CredentialTypeEnum>
public enum CredentialTypeEnum extends Enum<CredentialTypeEnum>
Enum defining alias for each supported built-in
org.picketlink.idm.credential.handler.CredentialHandlerprovided by PicketLink. The alias is used in the configuration without using the full qualified name of a type.- Author:
- Pedro Igor
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIGEST_CREDENTIAL_HANDLERLDAP_PASSWORD_CREDENTIAL_HANDLERPASSWORD_CREDENTIAL_HANDLERX509_CERT_CREDENTIAL_HANDLER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringforType(String alias)StringtoString()static CredentialTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CredentialTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSWORD_CREDENTIAL_HANDLER
public static final CredentialTypeEnum PASSWORD_CREDENTIAL_HANDLER
-
LDAP_PASSWORD_CREDENTIAL_HANDLER
public static final CredentialTypeEnum LDAP_PASSWORD_CREDENTIAL_HANDLER
-
DIGEST_CREDENTIAL_HANDLER
public static final CredentialTypeEnum DIGEST_CREDENTIAL_HANDLER
-
X509_CERT_CREDENTIAL_HANDLER
public static final CredentialTypeEnum X509_CERT_CREDENTIAL_HANDLER
-
-
Method Detail
-
values
public static CredentialTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CredentialTypeEnum c : CredentialTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CredentialTypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<CredentialTypeEnum>
-
-