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

java.lang.Object
  extended by org.apache.hadoop.security.authentication.client.PseudoAuthenticator
      extended by org.apache.hadoop.fs.http.client.HttpPseudoAuthenticator
All Implemented Interfaces:
org.apache.hadoop.security.authentication.client.Authenticator

public class HttpPseudoAuthenticator
extends org.apache.hadoop.security.authentication.client.PseudoAuthenticator

A PseudoAuthenticator subclass that uses FileSystemAccess's UserGroupInformation to obtain the client user name (the UGI's login user).


Field Summary
 
Fields inherited from class org.apache.hadoop.security.authentication.client.PseudoAuthenticator
USER_NAME
 
Constructor Summary
HttpPseudoAuthenticator()
           
 
Method Summary
protected  String getUserName()
          Return the client user name.
 
Methods inherited from class org.apache.hadoop.security.authentication.client.PseudoAuthenticator
authenticate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpPseudoAuthenticator

public HttpPseudoAuthenticator()
Method Detail

getUserName

protected String getUserName()
Return the client user name.

Overrides:
getUserName in class org.apache.hadoop.security.authentication.client.PseudoAuthenticator
Returns:
the client user name.


Copyright © 2012 Apache Software Foundation. All Rights Reserved.