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.CredentialHandler provided by PicketLink. The alias is used in the configuration without using the full qualified name of a type.

Author:
Pedro Igor
  • Enum Constant Details

    • 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 Details

    • values

      public static CredentialTypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null
    • forType

      public static String forType(String alias)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CredentialTypeEnum>