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
HiveAuthorizationValidatorcheckPrivileges in interface HiveAuthorizationValidatorHiveAuthzPluginExceptionHiveAccessControlExceptionpublic List<HivePrivilegeObject> filterListCmdObjects(List<HivePrivilegeObject> listObjs, HiveAuthzContext context)
HiveAuthorizationValidatorfilterListCmdObjects in interface HiveAuthorizationValidatorpublic boolean needTransform()
needTransform in interface HiveAuthorizationValidatorpublic List<HivePrivilegeObject> applyRowFilterAndColumnMasking(HiveAuthzContext context, List<HivePrivilegeObject> privObjs) throws SemanticException
applyRowFilterAndColumnMasking in interface HiveAuthorizationValidatorSemanticExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.