Class Constants

java.lang.Object
com.kerb4j.common.util.Constants

public class Constants extends Object
Defines constants and parameter names that are used in the web.xml file, and HTTP request headers, etc.

This class is primarily used internally or by implementers of custom http clients and by SpnegoFilterConfig.

  • Field Details

    • AUTHN_HEADER

      public static final String AUTHN_HEADER
      HTTP Response Header WWW-Authenticate.

      The filter will respond with this header with a value of "Basic" and/or "Negotiate" (based on web.xml file).

      See Also:
    • AUTHZ_HEADER

      public static final String AUTHZ_HEADER
      HTTP Request Header Authorization.

      Clients should send this header where the value is the authentication token(s).

      See Also:
    • BASIC_HEADER

      public static final String BASIC_HEADER
      HTTP Response Header Basic.

      The filter will set this as the value for the "WWW-Authenticate" header if "Basic" auth is allowed (based on web.xml file).

      See Also:
    • NEGOTIATE_HEADER

      public static final String NEGOTIATE_HEADER
      HTTP Response Header Negotiate.

      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).

      See Also: