public class DefaultHiveMetastoreAuthorizationProvider extends BitSetCheckedAuthorizationProvider implements HiveMetastoreAuthorizationProvider
HiveAuthorizationProviderBase.HiveProxy
authenticator, hive_db, LOG
Constructor and Description |
---|
DefaultHiveMetastoreAuthorizationProvider() |
Modifier and Type | Method and Description |
---|---|
void |
init(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(Configuration conf) throws HiveException
init
in interface HiveAuthorizationProvider
HiveException
public void setMetaStoreHandler(HiveMetaStore.HMSHandler handler)
HiveMetastoreAuthorizationProvider
setMetaStoreHandler
in interface HiveMetastoreAuthorizationProvider
Copyright © 2012 The Apache Software Foundation