public class DummyHiveAuthorizationValidator extends Object implements HiveAuthorizationValidator
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
DummyHiveAuthorizationValidator() |
Modifier and Type | Method and Description |
---|---|
List<HivePrivilegeObject> |
applyRowFilterAndColumnMasking(HiveAuthzContext context,
List<HivePrivilegeObject> privObjs) |
void |
checkPrivileges(HiveOperationType hiveOpType,
List<HivePrivilegeObject> inputHObjs,
List<HivePrivilegeObject> outputHObjs,
HiveAuthzContext context)
see HiveAuthorizer.checkPrivileges
|
List<HivePrivilegeObject> |
filterListCmdObjects(List<HivePrivilegeObject> listObjs,
HiveAuthzContext context)
see HiveAuthorizer.filterListCmdObjects
|
boolean |
needTransform() |
public void checkPrivileges(HiveOperationType hiveOpType, List<HivePrivilegeObject> inputHObjs, List<HivePrivilegeObject> outputHObjs, HiveAuthzContext context) throws HiveAuthzPluginException, HiveAccessControlException
HiveAuthorizationValidator
checkPrivileges
in interface HiveAuthorizationValidator
HiveAuthzPluginException
HiveAccessControlException
public List<HivePrivilegeObject> filterListCmdObjects(List<HivePrivilegeObject> listObjs, HiveAuthzContext context)
HiveAuthorizationValidator
filterListCmdObjects
in interface HiveAuthorizationValidator
public boolean needTransform()
needTransform
in interface HiveAuthorizationValidator
public List<HivePrivilegeObject> applyRowFilterAndColumnMasking(HiveAuthzContext context, List<HivePrivilegeObject> privObjs) throws SemanticException
applyRowFilterAndColumnMasking
in interface HiveAuthorizationValidator
SemanticException
Copyright © 2021 The Apache Software Foundation. All rights reserved.