org.apache.hadoop.hive.ql.security.authorization
Class DefaultHiveMetastoreAuthorizationProvider
java.lang.Object
org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProviderBase
org.apache.hadoop.hive.ql.security.authorization.BitSetCheckedAuthorizationProvider
org.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetastoreAuthorizationProvider
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, HiveAuthorizationProvider, HiveMetastoreAuthorizationProvider
public class DefaultHiveMetastoreAuthorizationProvider
- extends BitSetCheckedAuthorizationProvider
- implements HiveMetastoreAuthorizationProvider
Method Summary |
void |
init(org.apache.hadoop.conf.Configuration conf)
|
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.conf.Configurable |
getConf, setConf |
DefaultHiveMetastoreAuthorizationProvider
public DefaultHiveMetastoreAuthorizationProvider()
init
public void init(org.apache.hadoop.conf.Configuration conf)
throws HiveException
- Specified by:
init
in interface HiveAuthorizationProvider
- Throws:
HiveException
setMetaStoreHandler
public void setMetaStoreHandler(HiveMetaStore.HMSHandler handler)
- Description copied from interface:
HiveMetastoreAuthorizationProvider
- 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.
- Specified by:
setMetaStoreHandler
in interface HiveMetastoreAuthorizationProvider
Copyright © 2014 The Apache Software Foundation. All rights reserved.