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(IHMSHandler 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, authorizeDbLevelOperations, authorizePrivileges, authorizeUserPriv
getAuthenticator, getConf, getHivePolicyProvider, setAuthenticator, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHivePolicyProvider
authorize, authorize, authorize, authorize, authorizeDbLevelOperations, getAuthenticator, setAuthenticator
public DefaultHiveMetastoreAuthorizationProvider()
public void init(org.apache.hadoop.conf.Configuration conf) throws HiveException
init
in interface HiveAuthorizationProvider
HiveException
public void setMetaStoreHandler(IHMSHandler handler)
HiveMetastoreAuthorizationProvider
setMetaStoreHandler
in interface HiveMetastoreAuthorizationProvider
public void authorizeAuthorizationApiInvocation() throws HiveException, AuthorizationException
HiveMetastoreAuthorizationProvider
authorizeAuthorizationApiInvocation
in interface HiveMetastoreAuthorizationProvider
HiveException
AuthorizationException
Copyright © 2023 The Apache Software Foundation. All rights reserved.