public class SessionStateUserAuthenticator extends Object implements HiveAuthenticationProvider
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.conf.Configuration |
conf |
| Constructor and Description |
|---|
SessionStateUserAuthenticator() |
| 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 arg0) |
void |
setSessionState(SessionState sessionState)
This function is meant to be used only for hive internal implementations of this interface.
|
public List<String> getGroupNames()
getGroupNames in interface HiveAuthenticationProviderpublic String getUserName()
getUserName in interface HiveAuthenticationProviderpublic void destroy()
throws HiveException
destroy in interface HiveAuthenticationProviderHiveExceptionpublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration arg0)
setConf in interface org.apache.hadoop.conf.Configurablepublic void setSessionState(SessionState sessionState)
HiveAuthenticationProvidersetSessionState in interface HiveAuthenticationProvidersessionState - SessionState that created this instanceCopyright © 2019 The Apache Software Foundation. All Rights Reserved.