public class FallbackHiveAuthorizerFactory extends Object implements HiveAuthorizerFactory
Constructor and Description |
---|
FallbackHiveAuthorizerFactory() |
Modifier and Type | Method and Description |
---|---|
HiveAuthorizer |
createHiveAuthorizer(HiveMetastoreClientFactory metastoreClientFactory,
HiveConf conf,
HiveAuthenticationProvider authenticator,
HiveAuthzSessionContext ctx)
Create a new instance of HiveAuthorizer, initialized with the given objects.
|
public HiveAuthorizer createHiveAuthorizer(HiveMetastoreClientFactory metastoreClientFactory, HiveConf conf, HiveAuthenticationProvider authenticator, HiveAuthzSessionContext ctx)
HiveAuthorizerFactory
createHiveAuthorizer
in interface HiveAuthorizerFactory
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 HiveConfauthenticator
- - authenticator, provides user namectx
- - session context informationCopyright © 2022 The Apache Software Foundation. All rights reserved.