Enum Class Credential.Tag

java.lang.Object
java.lang.Enum<Credential.Tag>
org.jboss.as.connector.metadata.api.common.Credential.Tag
All Implemented Interfaces:
Serializable, Comparable<Credential.Tag>, Constable
Enclosing interface:
Credential

public static enum Credential.Tag extends Enum<Credential.Tag>
  • Enum Constant Details

    • ELYTRON_ENABLED

      public static final Credential.Tag ELYTRON_ENABLED
      elytron-enabled tag
    • AUTHENTICATION_CONTEXT

      public static final Credential.Tag AUTHENTICATION_CONTEXT
      authentication-context tag
    • CREDENTIAL_REFERENCE

      public static final Credential.Tag CREDENTIAL_REFERENCE
      credential-reference tag
    • UNKNOWN

      public static final Credential.Tag UNKNOWN
      always first
    • USER_NAME

      @Deprecated public static final Credential.Tag USER_NAME
      Deprecated.
      userName tag
    • PASSWORD

      @Deprecated public static final Credential.Tag PASSWORD
      Deprecated.
      password tag
    • SECURITY_DOMAIN

      public static final Credential.Tag SECURITY_DOMAIN
      security-domain tag
  • Method Details

    • values

      public static Credential.Tag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Credential.Tag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLocalName

      public String getLocalName()
      Get the local name of this element.
      Returns:
      the local name
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Credential.Tag>
    • forName

      public static Credential.Tag forName(String localName)
      Static method to get enum instance given localName XsdString
      Parameters:
      localName - a XsdString used as localname (typically tag name as defined in xsd)
      Returns:
      the enum instance