@InterfaceAudience.LimitedPrivate(value="Apache Argus (incubating)") @InterfaceStability.Evolving public interface HiveAuthorizerFactory
HiveAuthorizer instance used for hive authorization.| Modifier and Type | Method and Description |
|---|---|
HiveAuthorizer |
createHiveAuthorizer(HiveMetastoreClientFactory metastoreClientFactory,
HiveConf conf,
HiveAuthenticationProvider hiveAuthenticator,
HiveAuthzSessionContext ctx)
Create a new instance of HiveAuthorizer, initialized with the given objects.
|
HiveAuthorizer createHiveAuthorizer(HiveMetastoreClientFactory metastoreClientFactory, HiveConf conf, HiveAuthenticationProvider hiveAuthenticator, HiveAuthzSessionContext ctx) throws HiveAuthzPluginException
metastoreClientFactory - - Use this to get the valid meta store client (IMetaStoreClient)
for the current thread. Each invocation of method in HiveAuthorizer can happen in
different thread, so get the current instance in each method invocation.conf - - current HiveConfhiveAuthenticator - - authenticator, provides user namectx - - session context informationHiveAuthzPluginExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.