Enum Class SamlNameIdFormat

java.lang.Object
java.lang.Enum<SamlNameIdFormat>
com.mxraven.admin.model.SamlNameIdFormat
All Implemented Interfaces:
Serializable, Comparable<SamlNameIdFormat>, Constable

public enum SamlNameIdFormat extends Enum<SamlNameIdFormat>
SAML NameID format.
  • Enum Constant Details

    • UNSPECIFIED

      public static final SamlNameIdFormat UNSPECIFIED
      Unspecified NameID format.
    • PERSISTENT

      public static final SamlNameIdFormat PERSISTENT
      Persistent NameID format.
    • TRANSIENT

      public static final SamlNameIdFormat TRANSIENT
      Transient NameID format.
    • EMAIL

      public static final SamlNameIdFormat EMAIL
      Email address NameID format.
  • 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
    • wire

      public String wire()
      The wire value.
      Returns:
      the wire value
    • fromWire

      public static SamlNameIdFormat fromWire(String value)
      Resolves the constant for a wire value.
      Parameters:
      value - wire value, or null
      Returns:
      the matching constant, or null when value is null
      Throws:
      IllegalArgumentException - if the value is unknown