Enum Class TokenType

java.lang.Object
java.lang.Enum<TokenType>
org.projecthusky.xua.communication.xua.TokenType
All Implemented Interfaces:
Serializable, Comparable<TokenType>, Constable

public enum TokenType extends Enum<TokenType>
Enumeration defining the TokenTypes.
Enumeration die die TokenTypes definiert.
  • Enum Constant Details

    • OASIS_WSS_SAML_PROFILE_11_SAMLV20

      public static final TokenType OASIS_WSS_SAML_PROFILE_11_SAMLV20
  • Method Details

    • values

      public static TokenType[] 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 TokenType 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
    • getEnum

      public static TokenType getEnum(String aCode)
      Method to get the correct enum value by string.
      Methode um den korrekte enum Wert zum String zu erhalten.
      Parameters:
      aCode -
      The enum as string.
      Der enum wert als String.
      Returns:
      The enum value corresponding to the input string else null.
      Der enum Wert korrespondierend zum Eingabe String und sonst null.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TokenType>
      See Also: