org.apache.hadoop.fs.http.client
Class HttpKerberosAuthenticator

java.lang.Object
  extended by org.apache.hadoop.security.authentication.client.KerberosAuthenticator
      extended by 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.


Field Summary
 
Fields inherited from class org.apache.hadoop.security.authentication.client.KerberosAuthenticator
AUTHORIZATION, NEGOTIATE, WWW_AUTHENTICATE
 
Constructor Summary
HttpKerberosAuthenticator()
           
 
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
 

Constructor Detail

HttpKerberosAuthenticator

public HttpKerberosAuthenticator()
Method Detail

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.