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 HiveAuthenticationProviderpublic String getUserName()
getUserName in interface HiveAuthenticationProviderpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic void destroy()
throws HiveException
destroy in interface HiveAuthenticationProviderHiveExceptionpublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setSessionState(SessionState ss)
HiveAuthenticationProvidersetSessionState in interface HiveAuthenticationProviderss - SessionState that created this instanceCopyright © 2019 The Apache Software Foundation. All Rights Reserved.