Package | Description |
---|---|
org.apache.hadoop.hive.ql.security.authorization | |
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.fallback | |
org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd |
Modifier and Type | Method and Description |
---|---|
HivePrivilege |
DefaultHiveAuthorizationTranslator.getHivePrivilege(PrivilegeDesc privilege) |
Modifier and Type | Method and Description |
---|---|
static List<HivePrivilege> |
AuthorizationUtils.getHivePrivileges(List<PrivilegeDesc> privileges,
HiveAuthorizationTranslator trans) |
Modifier and Type | Method and Description |
---|---|
static PrivilegeGrantInfo |
AuthorizationUtils.getThriftPrivilegeGrantInfo(HivePrivilege privilege,
HivePrincipal grantorPrincipal,
boolean grantOption,
int grantTime)
Get thrift privilege grant info
|
Modifier and Type | Method and Description |
---|---|
HivePrivilege |
HiveAuthorizationTranslator.getHivePrivilege(PrivilegeDesc privilege) |
HivePrivilege |
HivePrivilegeInfo.getPrivilege() |
Modifier and Type | Method and Description |
---|---|
int |
HivePrivilege.compareTo(HivePrivilege privilege) |
Modifier and Type | Method and Description |
---|---|
void |
HiveV1Authorizer.grantPrivileges(List<HivePrincipal> principals,
List<HivePrivilege> privileges,
HivePrivilegeObject privObject,
HivePrincipal grantor,
boolean grantOption) |
void |
HiveAccessController.grantPrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption) |
void |
HiveAuthorizerImpl.grantPrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption) |
void |
HiveAuthorizer.grantPrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption)
Grant privileges for principals on the object
|
void |
HiveV1Authorizer.revokePrivileges(List<HivePrincipal> principals,
List<HivePrivilege> privileges,
HivePrivilegeObject privObject,
HivePrincipal grantor,
boolean grantOption) |
void |
HiveAccessController.revokePrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption) |
void |
HiveAuthorizerImpl.revokePrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption) |
void |
HiveAuthorizer.revokePrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption)
Revoke privileges for principals on the object
|
Constructor and Description |
---|
HivePrivilegeInfo(HivePrincipal principal,
HivePrivilege privilege,
HivePrivilegeObject object,
HivePrincipal grantorPrincipal,
boolean grantOption,
int grantTime) |
Modifier and Type | Method and Description |
---|---|
void |
FallbackHiveAuthorizer.grantPrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption) |
void |
FallbackHiveAuthorizer.revokePrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption) |
Modifier and Type | Method and Description |
---|---|
static List<HiveObjectPrivilege> |
RevokePrivAuthUtils.authorizeAndGetRevokePrivileges(List<HivePrincipal> principals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
boolean grantOption,
IMetaStoreClient mClient,
String userName) |
void |
SQLStdHiveAccessController.grantPrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption) |
void |
SQLStdHiveAccessControllerWrapper.grantPrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption) |
void |
SQLStdHiveAccessController.revokePrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption) |
void |
SQLStdHiveAccessControllerWrapper.revokePrivileges(List<HivePrincipal> hivePrincipals,
List<HivePrivilege> hivePrivileges,
HivePrivilegeObject hivePrivObject,
HivePrincipal grantorPrincipal,
boolean grantOption) |
static void |
SQLAuthorizationUtils.validatePrivileges(List<HivePrivilege> hivePrivileges)
Check if the privileges are acceptable for SQL Standard authorization implementation
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.