org.apache.hadoop.hive.ql.security
Class HadoopDefaultAuthenticator

java.lang.Object
  extended by 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


Constructor Summary
HadoopDefaultAuthenticator()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HadoopDefaultAuthenticator

public HadoopDefaultAuthenticator()
Method Detail

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.