public interface HiveMetastoreAuthorizationProvider extends HiveAuthorizationProvider
| Modifier and Type | Method and Description |
|---|---|
void |
authorizeAuthorizationApiInvocation()
Authorize metastore authorization api call.
|
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, getAuthenticator, init, setAuthenticatorvoid setMetaStoreHandler(HiveMetaStore.HMSHandler handler)
handler - void authorizeAuthorizationApiInvocation()
throws HiveException,
AuthorizationException
HiveExceptionAuthorizationExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.