public class DefaultHiveMetastoreAuthorizationProvider extends BitSetCheckedAuthorizationProvider implements HiveMetastoreAuthorizationProvider
HiveAuthorizationProviderBase.HiveProxy
authenticator, hive_db, LOG
Constructor and Description |
---|
DefaultHiveMetastoreAuthorizationProvider() |
Modifier and Type | Method and Description |
---|---|
void |
authorizeAuthorizationApiInvocation()
Authorize metastore authorization api call.
|
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.
|
authorize, authorize, authorize, authorize, authorize, authorizePrivileges, authorizeUserPriv
getAuthenticator, getConf, setAuthenticator, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authorize, authorize, authorize, authorize, authorize, getAuthenticator, setAuthenticator
public DefaultHiveMetastoreAuthorizationProvider()
public void init(org.apache.hadoop.conf.Configuration conf) throws HiveException
init
in interface HiveAuthorizationProvider
HiveException
public void setMetaStoreHandler(HiveMetaStore.HMSHandler handler)
HiveMetastoreAuthorizationProvider
setMetaStoreHandler
in interface HiveMetastoreAuthorizationProvider
public void authorizeAuthorizationApiInvocation() throws HiveException, AuthorizationException
HiveMetastoreAuthorizationProvider
authorizeAuthorizationApiInvocation
in interface HiveMetastoreAuthorizationProvider
HiveException
AuthorizationException
Copyright © 2017 The Apache Software Foundation. All rights reserved.