Enum Class SamlNameIdFormat

java.lang.Object
java.lang.Enum<SamlNameIdFormat>
com.linecorp.armeria.server.saml.SamlNameIdFormat
All Implemented Interfaces:
Serializable, Comparable<SamlNameIdFormat>, Constable

public enum SamlNameIdFormat extends Enum<SamlNameIdFormat>
SAML name ID formats.
  • Enum Constant Details

    • UNSPECIFIED

      public static final SamlNameIdFormat UNSPECIFIED
      Unspecified name format.
    • EMAIL

      public static final SamlNameIdFormat EMAIL
      Email name format.
    • X509_SUBJECT

      public static final SamlNameIdFormat X509_SUBJECT
      X509 subject name format.
    • WIN_DOMAIN_QUALIFIED

      public static final SamlNameIdFormat WIN_DOMAIN_QUALIFIED
      Windows domain qualified name format.
    • KERBEROS

      public static final SamlNameIdFormat KERBEROS
      Kerberos name format.
    • ENTITY

      public static final SamlNameIdFormat ENTITY
      SAML entity name format.
    • PERSISTENT

      public static final SamlNameIdFormat PERSISTENT
      Persistent name format.
    • TRANSIENT

      public static final SamlNameIdFormat TRANSIENT
      Transient name format.
    • ENCRYPTED

      public static final SamlNameIdFormat ENCRYPTED
      Used by NameIDPolicy to indicate a NameID should be encrypted.
  • Method Details

    • values

      public static SamlNameIdFormat[] 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 SamlNameIdFormat 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
    • urn

      public String urn()
      Returns the URN of this name ID format.