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

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

@InterfaceAudience.Private
public class HttpFSPseudoAuthenticator
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
HttpFSPseudoAuthenticator()
           
 
Method Summary
protected  String getUserName()
          Return the client user name.
 
Methods inherited from class org.apache.hadoop.security.authentication.client.PseudoAuthenticator
authenticate, setConnectionConfigurator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpFSPseudoAuthenticator

public HttpFSPseudoAuthenticator()
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 © 2014 Apache Software Foundation. All Rights Reserved.