public abstract class AbstractHiveAuthorizer extends Object implements HiveAuthorizer
HiveAuthorizer.VERSION
Constructor and Description |
---|
AbstractHiveAuthorizer() |
Modifier and Type | Method and Description |
---|---|
HiveAuthorizationTranslator |
getHiveAuthorizationTranslator()
Get a
HiveAuthorizationTranslator implementation. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyAuthorizationConfigPolicy, applyRowFilterAndColumnMasking, checkPrivileges, createRole, dropRole, filterListCmdObjects, getAllRoles, getCurrentRoleNames, getPrincipalGrantInfoForRole, getRoleGrantInfoForPrincipal, getVersion, grantPrivileges, grantRole, needTransform, revokePrivileges, revokeRole, setCurrentRole, showPrivileges
public HiveAuthorizationTranslator getHiveAuthorizationTranslator() throws HiveAuthzPluginException
HiveAuthorizer
HiveAuthorizationTranslator
implementation. See
HiveAuthorizationTranslator
for details. Return null if no
customization is needed. Most implementations are expected to return null.
The java signature of the method makes it necessary to only return Object
type so that older implementations can extend the interface to build
against older versions of Hive that don't include this additional method
and HiveAuthorizationTranslator class. However, if a non null value is
returned, the Object has to be of type HiveAuthorizationTranslatorgetHiveAuthorizationTranslator
in interface HiveAuthorizer
HiveAuthzPluginException
Copyright © 2021 The Apache Software Foundation. All rights reserved.