org.apache.hadoop.fs.http.client
Class HttpKerberosAuthenticator
java.lang.Object
org.apache.hadoop.security.authentication.client.KerberosAuthenticator
org.apache.hadoop.fs.http.client.HttpKerberosAuthenticator
- All Implemented Interfaces:
- org.apache.hadoop.security.authentication.client.Authenticator
public class HttpKerberosAuthenticator
- extends org.apache.hadoop.security.authentication.client.KerberosAuthenticator
A KerberosAuthenticator
subclass that fallback to
HttpPseudoAuthenticator
.
Fields inherited from class org.apache.hadoop.security.authentication.client.KerberosAuthenticator |
AUTHORIZATION, NEGOTIATE, WWW_AUTHENTICATE |
Method Summary |
protected org.apache.hadoop.security.authentication.client.Authenticator |
getFallBackAuthenticator()
Returns the fallback authenticator if the server does not use
Kerberos SPNEGO HTTP authentication. |
Methods inherited from class org.apache.hadoop.security.authentication.client.KerberosAuthenticator |
authenticate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpKerberosAuthenticator
public HttpKerberosAuthenticator()
getFallBackAuthenticator
protected org.apache.hadoop.security.authentication.client.Authenticator getFallBackAuthenticator()
- Returns the fallback authenticator if the server does not use
Kerberos SPNEGO HTTP authentication.
- Overrides:
getFallBackAuthenticator
in class org.apache.hadoop.security.authentication.client.KerberosAuthenticator
- Returns:
- a
HttpPseudoAuthenticator
instance.
Copyright © 2012 Apache Software Foundation. All Rights Reserved.