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. |
HivePolicyProvider |
getHivePolicyProvider() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyAuthorizationConfigPolicy, applyRowFilterAndColumnMasking, checkPrivileges, createRole, dropRole, filterListCmdObjects, getAllRoles, getCurrentRoleNames, getPrincipalGrantInfoForRole, getRoleGrantInfoForPrincipal, getVersion, grantPrivileges, grantRole, needTransform, revokePrivileges, revokeRole, setCurrentRole, showPrivilegespublic HiveAuthorizationTranslator getHiveAuthorizationTranslator() throws HiveAuthzPluginException
HiveAuthorizerHiveAuthorizationTranslator 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 HiveAuthorizerHiveAuthzPluginExceptionpublic HivePolicyProvider getHivePolicyProvider() throws HiveAuthzPluginException
getHivePolicyProvider in interface HiveAuthorizerHiveAuthzPluginExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.