Class KerberosAuthenticator

java.lang.Object
org.apache.hadoop.security.authentication.client.KerberosAuthenticator
All Implemented Interfaces:
Authenticator

public class KerberosAuthenticator extends Object implements Authenticator
The KerberosAuthenticator implements the Kerberos SPNEGO authentication sequence.

It uses the default principal for the Kerberos cache (normally set via kinit).

It falls back to the PseudoAuthenticator if the HTTP endpoint does not trigger an SPNEGO authentication sequence.

  • Field Details

    • WWW_AUTHENTICATE

      public static final String WWW_AUTHENTICATE
      HTTP header used by the SPNEGO server endpoint during an authentication sequence.
      See Also:
    • AUTHORIZATION

      public static final String AUTHORIZATION
      HTTP header used by the SPNEGO client endpoint during an authentication sequence.
      See Also:
    • NEGOTIATE

      public static final String NEGOTIATE
      HTTP header prefix used by the SPNEGO client/server endpoints during an authentication sequence.
      See Also:
  • Constructor Details

    • KerberosAuthenticator

      public KerberosAuthenticator()
  • Method Details