org.apache.hadoop.fs.http.client
Class HttpPseudoAuthenticator
java.lang.Object
org.apache.hadoop.security.authentication.client.PseudoAuthenticator
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).
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpPseudoAuthenticator
public HttpPseudoAuthenticator()
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.