org.apache.hadoop.hive.ql.security.authorization.plugin
Interface HiveAuthorizationValidator
- All Known Implementing Classes:
- SQLStdHiveAuthorizationValidator
@InterfaceAudience.LimitedPrivate(value="")
@InterfaceStability.Evolving
public interface HiveAuthorizationValidator
Interface used to check if user has privileges to perform certain action.
Methods here have corresponding methods in HiveAuthorizer, check method documentation there.
checkPrivileges
void checkPrivileges(HiveOperationType hiveOpType,
List<HivePrivilegeObject> inputHObjs,
List<HivePrivilegeObject> outputHObjs)
throws HiveAuthzPluginException,
HiveAccessControlException
- Check if current user has privileges to perform given operation type
hiveOpType on the given input and output objects
- Parameters:
hiveOpType
- inputHObjs
- outputHObjs
-
- Throws:
HiveAuthzPluginException
HiveAccessControlException
Copyright © 2014 The Apache Software Foundation. All rights reserved.