public class SessionStateConfigUserAuthenticator extends Object implements HiveAuthenticationProvider
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.conf.Configuration |
conf |
Constructor and Description |
---|
SessionStateConfigUserAuthenticator() |
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 HiveAuthenticationProvider
public String getUserName()
getUserName
in interface HiveAuthenticationProvider
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 setConf(org.apache.hadoop.conf.Configuration arg0)
setConf
in interface org.apache.hadoop.conf.Configurable
public void setSessionState(SessionState sessionState)
HiveAuthenticationProvider
setSessionState
in interface HiveAuthenticationProvider
sessionState
- SessionState that created this instanceCopyright © 2017 The Apache Software Foundation. All rights reserved.