org.apache.hadoop.hive.ql.security
Interface HiveAuthenticationProvider

All Superinterfaces:
org.apache.hadoop.conf.Configurable
All Known Subinterfaces:
HiveMetastoreAuthenticationProvider
All Known Implementing Classes:
HadoopDefaultAuthenticator, HadoopDefaultMetastoreAuthenticator, ProxyUserAuthenticator, SessionStateConfigUserAuthenticator, SessionStateUserAuthenticator

public interface HiveAuthenticationProvider
extends org.apache.hadoop.conf.Configurable

HiveAuthenticationProvider is an interface for authentication. The implementation should return userNames and groupNames.


Method Summary
 void destroy()
           
 List<String> getGroupNames()
           
 String getUserName()
           
 void setSessionState(SessionState ss)
          This function is meant to be used only for hive internal implementations of this interface.
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Method Detail

getUserName

String getUserName()

getGroupNames

List<String> getGroupNames()

destroy

void destroy()
             throws HiveException
Throws:
HiveException

setSessionState

void setSessionState(SessionState ss)
This function is meant to be used only for hive internal implementations of this interface. SessionState is not a public interface.

Parameters:
ss - SessionState that created this instance


Copyright © 2014 The Apache Software Foundation. All rights reserved.