Top Description Fields Constructors Methods
io.undertow.security.impl

public final Enum AuthenticationInfoToken

extends Enum<AuthenticationInfoToken>
implements HeaderToken
Class Inheritance
All Implemented Interfaces
io.undertow.util.HeaderToken
Imports
java.util.Collections, .LinkedHashMap, .Map, io.undertow.util.HeaderToken, .HeaderTokenParser, .Headers, .HttpString

Enumeration of tokens expected in a HTTP Digest 'Authentication-Info' header.
Author
Darran Lofthouse

Field Summary

Modifier and TypeField and Description
public static final AuthenticationInfoToken
public static final AuthenticationInfoToken
private final String
public static final AuthenticationInfoToken
public static final AuthenticationInfoToken
private final boolean
public static final AuthenticationInfoToken
private static final HeaderTokenParser<AuthenticationInfoToken>

Constructor Summary

AccessConstructor and Description
private
AuthenticationInfoToken(final HttpString name, final boolean quoted)

Method Summary

Modifier and TypeMethod and Description
public String
public boolean
public static Map<AuthenticationInfoToken, String>
parseHeader(final String header)

public static AuthenticationInfoToken
public static AuthenticationInfoToken[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CNONCEback to summary
public static final AuthenticationInfoToken CNONCE
MESSAGE_QOPback to summary
public static final AuthenticationInfoToken MESSAGE_QOP
nameback to summary
private final String name

Hides java.lang.Enum.name.

NEXT_NONCEback to summary
public static final AuthenticationInfoToken NEXT_NONCE
NONCE_COUNTback to summary
public static final AuthenticationInfoToken NONCE_COUNT
quotedback to summary
private final boolean quoted
RESPONSE_AUTHback to summary
public static final AuthenticationInfoToken RESPONSE_AUTH
TOKEN_PARSERback to summary
private static final HeaderTokenParser<AuthenticationInfoToken> TOKEN_PARSER

Constructor Detail

AuthenticationInfoTokenback to summary
private AuthenticationInfoToken(final HttpString name, final boolean quoted)

Method Detail

getNameback to summary
public String getName()

Implements io.undertow.util.HeaderToken.getName.

Returns:String

Doc from io.undertow.util.HeaderToken.getName.

The name of the token as seen within the HTTP header.

isAllowQuotedback to summary
public boolean isAllowQuoted()

Implements io.undertow.util.HeaderToken.isAllowQuoted.

Returns:boolean

Doc from io.undertow.util.HeaderToken.isAllowQuoted.

true if this header could be a quoted header.

parseHeaderback to summary
public static Map<AuthenticationInfoToken, String> parseHeader(final String header)
valueOfback to summary
public static AuthenticationInfoToken valueOf(String name)
valuesback to summary
public static AuthenticationInfoToken[] values()