Class AuthConstants

java.lang.Object
org.apache.gravitino.auth.AuthConstants

public final class AuthConstants extends Object
Constants used for authentication.
  • Field Details

    • HTTP_HEADER_AUTHORIZATION

      public static final String HTTP_HEADER_AUTHORIZATION
      The HTTP header used to pass the authentication token.
      See Also:
    • AUTHORIZATION_BEARER_HEADER

      public static final String AUTHORIZATION_BEARER_HEADER
      The name of BEARER header used to pass the authentication token.
      See Also:
    • AUTHORIZATION_BASIC_HEADER

      public static final String AUTHORIZATION_BASIC_HEADER
      The name of BASIC header used to pass the authentication token.
      See Also:
    • NEGOTIATE

      public static final String NEGOTIATE
      The name of NEGOTIATE.
      See Also:
    • AUTHORIZATION_NEGOTIATE_HEADER

      public static final String AUTHORIZATION_NEGOTIATE_HEADER
      The value of NEGOTIATE header used to pass the authentication token.
      See Also:
    • HTTP_CHALLENGE_HEADER

      public static final String HTTP_CHALLENGE_HEADER
      The HTTP header used to pass the authentication token.
      See Also:
    • ANONYMOUS_USER

      public static final String ANONYMOUS_USER
      The default username used for anonymous access.
      See Also:
    • OWNER

      public static final String OWNER
      OWNER.
      See Also:
    • SELF

      public static final String SELF
      SELF authorization expression.
      See Also:
    • DENY

      public static final String DENY
      deny.
      See Also:
    • ALLOW

      public static final String ALLOW
      allow.
      See Also:
    • AUTHENTICATED_PRINCIPAL_ATTRIBUTE_NAME

      public static final String AUTHENTICATED_PRINCIPAL_ATTRIBUTE_NAME
      The default name of the attribute that stores the authenticated principal in the request.

      Refer to the style of `AuthenticationFilter#AuthenticatedRoleAttributeName` of Apache Pulsar