public class HadoopDefaultAuthenticator extends Object implements HiveAuthenticationProvider
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.conf.Configuration |
conf |
protected List<String> |
groupNames |
protected String |
userName |
Constructor and Description |
---|
HadoopDefaultAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
org.apache.hadoop.conf.Configuration |
getConf() |
List<String> |
getGroupNames() |
String |
getUserName() |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
void |
setSessionState(SessionState ss)
This function is meant to be used only for hive internal implementations of this interface.
|
protected String userName
protected org.apache.hadoop.conf.Configuration conf
public List<String> getGroupNames()
getGroupNames
in interface HiveAuthenticationProvider
public String getUserName()
getUserName
in interface HiveAuthenticationProvider
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public void destroy() throws HiveException
destroy
in interface HiveAuthenticationProvider
HiveException
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setSessionState(SessionState ss)
HiveAuthenticationProvider
setSessionState
in interface HiveAuthenticationProvider
ss
- SessionState that created this instanceCopyright © 2017 The Apache Software Foundation. All rights reserved.