Enum AuthenticationInfoToken

java.lang.Object
java.lang.Enum<AuthenticationInfoToken>
io.undertow.security.impl.AuthenticationInfoToken
All Implemented Interfaces:
HeaderToken, Serializable, Comparable<AuthenticationInfoToken>, java.lang.constant.Constable

public enum AuthenticationInfoToken extends Enum<AuthenticationInfoToken> implements HeaderToken
Enumeration of tokens expected in a HTTP Digest 'Authentication-Info' header.
Author:
Darran Lofthouse
  • Enum Constant Details

  • Method Details

    • values

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

      public static AuthenticationInfoToken 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
    • getName

      public String getName()
      Specified by:
      getName in interface HeaderToken
      Returns:
      The name of the token as seen within the HTTP header.
    • isAllowQuoted

      public boolean isAllowQuoted()
      Specified by:
      isAllowQuoted in interface HeaderToken
      Returns:
      true if this header could be a quoted header.
    • parseHeader

      public static Map<AuthenticationInfoToken,String> parseHeader(String header)