org.apache.hadoop.fs.http.client
Class HttpFSPseudoAuthenticator
java.lang.Object
org.apache.hadoop.security.authentication.client.PseudoAuthenticator
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).
Fields inherited from class org.apache.hadoop.security.authentication.client.PseudoAuthenticator |
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 |
HttpFSPseudoAuthenticator
public HttpFSPseudoAuthenticator()
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.