org.apache.hadoop.hive.ql.security.authorization
Interface HiveMetastoreAuthorizationProvider

All Superinterfaces:
org.apache.hadoop.conf.Configurable, HiveAuthorizationProvider
All Known Implementing Classes:
DefaultHiveMetastoreAuthorizationProvider, StorageBasedAuthorizationProvider

public interface HiveMetastoreAuthorizationProvider
extends HiveAuthorizationProvider

HiveMetastoreAuthorizationProvider : An extension of HiveAuthorizaytionProvider that is intended to be called from the metastore-side. It will be invoked by AuthorizationPreEventListener.


Method Summary
 void setMetaStoreHandler(HiveMetaStore.HMSHandler handler)
          Allows invoker of HiveMetaStoreAuthorizationProvider to send in a hive metastore handler that can be used to make calls to test whether or not authorizations can/will succeed.
 
Methods inherited from interface org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider
authorize, authorize, authorize, authorize, authorize, getAuthenticator, init, setAuthenticator
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Method Detail

setMetaStoreHandler

void setMetaStoreHandler(HiveMetaStore.HMSHandler handler)
Allows invoker of HiveMetaStoreAuthorizationProvider to send in a hive metastore handler that can be used to make calls to test whether or not authorizations can/will succeed. Intended to be called before any of the authorize methods are called.

Parameters:
handler -


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