Enum 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 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 name
        NullPointerException - if the argument is null