org.apache.hadoop.hive.ql.security
Class HadoopDefaultAuthenticator
java.lang.Object
org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, HiveAuthenticationProvider
- Direct Known Subclasses:
- HadoopDefaultMetastoreAuthenticator, ProxyUserAuthenticator
public class HadoopDefaultAuthenticator
- extends Object
- implements HiveAuthenticationProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userName
protected String userName
groupNames
protected List<String> groupNames
conf
protected org.apache.hadoop.conf.Configuration conf
HadoopDefaultAuthenticator
public HadoopDefaultAuthenticator()
getGroupNames
public List<String> getGroupNames()
- Specified by:
getGroupNames in interface HiveAuthenticationProvider
getUserName
public String getUserName()
- Specified by:
getUserName in interface HiveAuthenticationProvider
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf)
- Specified by:
setConf in interface org.apache.hadoop.conf.Configurable
destroy
public void destroy()
throws HiveException
- Specified by:
destroy in interface HiveAuthenticationProvider
- Throws:
HiveException
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
getConf in interface org.apache.hadoop.conf.Configurable
setSessionState
public void setSessionState(SessionState ss)
- Description copied from interface:
HiveAuthenticationProvider
- This function is meant to be used only for hive internal implementations of this interface.
SessionState is not a public interface.
- Specified by:
setSessionState in interface HiveAuthenticationProvider
- Parameters:
ss - SessionState that created this instance
Copyright © 2014 The Apache Software Foundation. All rights reserved.