| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.security.authorization.plugin |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd |
| Modifier and Type | Method and Description |
|---|---|
static HiveOperationType |
HiveOperationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveOperationType[] |
HiveOperationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HiveV1Authorizer.checkPrivileges(HiveOperationType hiveOpType,
List<HivePrivilegeObject> inputsHObjs,
List<HivePrivilegeObject> outputHObjs,
HiveAuthzContext context) |
void |
HiveAuthorizerImpl.checkPrivileges(HiveOperationType hiveOpType,
List<HivePrivilegeObject> inputHObjs,
List<HivePrivilegeObject> outputHObjs,
HiveAuthzContext context) |
void |
HiveAuthorizer.checkPrivileges(HiveOperationType hiveOpType,
List<HivePrivilegeObject> inputsHObjs,
List<HivePrivilegeObject> outputHObjs,
HiveAuthzContext context)
Check if user has privileges to do this action on these objects
|
void |
HiveAuthorizationValidator.checkPrivileges(HiveOperationType hiveOpType,
List<HivePrivilegeObject> inputHObjs,
List<HivePrivilegeObject> outputHObjs,
HiveAuthzContext context)
see HiveAuthorizer.checkPrivileges
|
| Modifier and Type | Method and Description |
|---|---|
static Set<HiveOperationType> |
Operation2Privilege.getOperationTypes() |
| Modifier and Type | Method and Description |
|---|---|
static void |
SQLAuthorizationUtils.assertNoDeniedPermissions(HivePrincipal hivePrincipal,
HiveOperationType hiveOpType,
List<String> deniedMessages) |
void |
SQLStdHiveAuthorizationValidator.checkPrivileges(HiveOperationType hiveOpType,
List<HivePrivilegeObject> inputHObjs,
List<HivePrivilegeObject> outputHObjs,
HiveAuthzContext context) |
void |
DummyHiveAuthorizationValidator.checkPrivileges(HiveOperationType hiveOpType,
List<HivePrivilegeObject> inputHObjs,
List<HivePrivilegeObject> outputHObjs,
HiveAuthzContext context) |
static RequiredPrivileges |
Operation2Privilege.getRequiredPrivs(HiveOperationType hiveOpType,
HivePrivilegeObject hObj,
Operation2Privilege.IOType ioType)
Get the privileges required for this operation (hiveOpType) on hive object (hObj) when its
IOType is ioType.
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.