public class Constants extends Object
This class is primarily used internally or by implementers of custom http clients and by SpnegoFilterConfig.
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHN_HEADER
HTTP Response Header WWW-Authenticate.
|
static String |
AUTHZ_HEADER
HTTP Request Header Authorization.
|
static String |
BASIC_HEADER
HTTP Response Header Basic.
|
static String |
NEGOTIATE_HEADER
HTTP Response Header Negotiate.
|
public static final String AUTHN_HEADER
The filter will respond with this header with a value of "Basic" and/or "Negotiate" (based on web.xml file).
public static final String AUTHZ_HEADER
Clients should send this header where the value is the authentication token(s).
public static final String BASIC_HEADER
The filter will set this as the value for the "WWW-Authenticate" header if "Basic" auth is allowed (based on web.xml file).
public static final String NEGOTIATE_HEADER
The filter will set this as the value for the "WWW-Authenticate" header. Note that the filter may also add another header with a value of "Basic" (if allowed by the web.xml file).
Copyright © 2022. All rights reserved.