public class DefaultHiveMetastoreAuthorizationProvider extends BitSetCheckedAuthorizationProvider implements HiveMetastoreAuthorizationProvider
HiveAuthorizationProviderBase.HiveProxyauthenticator, 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, authorizeUserPrivgetAuthenticator, getConf, setAuthenticator, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthorize, authorize, authorize, authorize, authorize, getAuthenticator, setAuthenticatorpublic DefaultHiveMetastoreAuthorizationProvider()
public void init(org.apache.hadoop.conf.Configuration conf)
throws HiveException
init in interface HiveAuthorizationProviderHiveExceptionpublic void setMetaStoreHandler(HiveMetaStore.HMSHandler handler)
HiveMetastoreAuthorizationProvidersetMetaStoreHandler in interface HiveMetastoreAuthorizationProviderpublic void authorizeAuthorizationApiInvocation()
throws HiveException,
AuthorizationException
HiveMetastoreAuthorizationProviderauthorizeAuthorizationApiInvocation in interface HiveMetastoreAuthorizationProviderHiveExceptionAuthorizationExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.