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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator
      extended by org.apache.hadoop.hive.ql.security.HadoopDefaultMetastoreAuthenticator
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, HiveAuthenticationProvider, HiveMetastoreAuthenticationProvider

public class HadoopDefaultMetastoreAuthenticator
extends HadoopDefaultAuthenticator
implements HiveMetastoreAuthenticationProvider


Constructor Summary
HadoopDefaultMetastoreAuthenticator()
           
 
Method Summary
 void setMetaStoreHandler(HiveMetaStore.HMSHandler handler)
          Allows invoker of HiveMetastoreAuthenticationProvider to send in a hive metastore handler that can be used to provide data for any authentication that needs to be done.
 
Methods inherited from class org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator
destroy, getConf, getGroupNames, getUserName, setConf, setSessionState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider
destroy, getGroupNames, getUserName, setSessionState
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Constructor Detail

HadoopDefaultMetastoreAuthenticator

public HadoopDefaultMetastoreAuthenticator()
Method Detail

setMetaStoreHandler

public void setMetaStoreHandler(HiveMetaStore.HMSHandler handler)
Description copied from interface: HiveMetastoreAuthenticationProvider
Allows invoker of HiveMetastoreAuthenticationProvider to send in a hive metastore handler that can be used to provide data for any authentication that needs to be done.

Specified by:
setMetaStoreHandler in interface HiveMetastoreAuthenticationProvider


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