public class AccessDeniedException extends PrestoException
| Constructor and Description |
|---|
AccessDeniedException(String message) |
| Modifier and Type | Method and Description |
|---|---|
static void |
denyAddColumn(String tableName) |
static void |
denyAddColumn(String tableName,
String extraInfo) |
static void |
denyCatalogAccess(String catalogName) |
static void |
denyCatalogAccess(String catalogName,
String extraInfo) |
static void |
denyCreateRole(String roleName) |
static void |
denyCreateSchema(String schemaName) |
static void |
denyCreateSchema(String schemaName,
String extraInfo) |
static void |
denyCreateTable(String tableName) |
static void |
denyCreateTable(String tableName,
String extraInfo) |
static void |
denyCreateView(String viewName) |
static void |
denyCreateView(String viewName,
String extraInfo) |
static void |
denyCreateViewWithSelect(String sourceName,
ConnectorIdentity identity) |
static void |
denyCreateViewWithSelect(String sourceName,
ConnectorIdentity identity,
String extraInfo) |
static void |
denyCreateViewWithSelect(String sourceName,
Identity identity) |
static void |
denyDeleteTable(String tableName) |
static void |
denyDeleteTable(String tableName,
String extraInfo) |
static void |
denyDropColumn(String tableName) |
static void |
denyDropColumn(String tableName,
String extraInfo) |
static void |
denyDropRole(String roleName) |
static void |
denyDropSchema(String schemaName) |
static void |
denyDropSchema(String schemaName,
String extraInfo) |
static void |
denyDropTable(String tableName) |
static void |
denyDropTable(String tableName,
String extraInfo) |
static void |
denyDropView(String viewName) |
static void |
denyDropView(String viewName,
String extraInfo) |
static void |
denyGrantRoles(Set<String> roles,
Set<PrestoPrincipal> grantees) |
static void |
denyGrantTablePrivilege(String privilege,
String tableName) |
static void |
denyGrantTablePrivilege(String privilege,
String tableName,
String extraInfo) |
static void |
denyInsertTable(String tableName) |
static void |
denyInsertTable(String tableName,
String extraInfo) |
static void |
denyQueryIntegrityCheck() |
static void |
denyRenameColumn(String tableName) |
static void |
denyRenameColumn(String tableName,
String extraInfo) |
static void |
denyRenameSchema(String schemaName,
String newSchemaName) |
static void |
denyRenameSchema(String schemaName,
String newSchemaName,
String extraInfo) |
static void |
denyRenameTable(String tableName,
String newTableName) |
static void |
denyRenameTable(String tableName,
String newTableName,
String extraInfo) |
static void |
denyRevokeRoles(Set<String> roles,
Set<PrestoPrincipal> grantees) |
static void |
denyRevokeTablePrivilege(String privilege,
String tableName) |
static void |
denyRevokeTablePrivilege(String privilege,
String tableName,
String extraInfo) |
static void |
denySelectColumns(String tableName,
Collection<String> columnNames) |
static void |
denySelectColumns(String tableName,
Collection<String> columnNames,
String extraInfo) |
static void |
denySelectTable(String tableName) |
static void |
denySelectTable(String tableName,
String extraInfo) |
static void |
denySelectView(String viewName) |
static void |
denySelectView(String viewName,
String extraInfo) |
static void |
denySetCatalogSessionProperty(String propertyName) |
static void |
denySetCatalogSessionProperty(String catalogName,
String propertyName) |
static void |
denySetCatalogSessionProperty(String catalogName,
String propertyName,
String extraInfo) |
static void |
denySetRole(String role) |
static void |
denySetSystemSessionProperty(String propertyName) |
static void |
denySetSystemSessionProperty(String propertyName,
String extraInfo) |
static void |
denySetUser(Optional<Principal> principal,
String userName) |
static void |
denySetUser(Optional<Principal> principal,
String userName,
String extraInfo) |
static void |
denyShowCurrentRoles(String catalogName) |
static void |
denyShowRoleGrants(String catalogName) |
static void |
denyShowRoles(String catalogName) |
static void |
denyShowSchemas() |
static void |
denyShowSchemas(String extraInfo) |
static void |
denyShowTablesMetadata(String schemaName) |
static void |
denyShowTablesMetadata(String schemaName,
String extraInfo) |
static void |
denyTruncateTable(String tableName) |
static void |
denyTruncateTable(String tableName,
String extraInfo) |
getErrorCode, getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AccessDeniedException(String message)
public static void denyQueryIntegrityCheck()
public static void denySetUser(Optional<Principal> principal, String userName, String extraInfo)
public static void denyCatalogAccess(String catalogName)
public static void denyCreateSchema(String schemaName)
public static void denyDropSchema(String schemaName)
public static void denyRenameSchema(String schemaName, String newSchemaName, String extraInfo)
public static void denyShowSchemas()
public static void denyShowSchemas(String extraInfo)
public static void denyCreateTable(String tableName)
public static void denyDropTable(String tableName)
public static void denyRenameTable(String tableName, String newTableName, String extraInfo)
public static void denyShowTablesMetadata(String schemaName)
public static void denyShowTablesMetadata(String schemaName, String extraInfo)
public static void denyAddColumn(String tableName)
public static void denyDropColumn(String tableName)
public static void denyRenameColumn(String tableName)
public static void denySelectTable(String tableName)
public static void denyInsertTable(String tableName)
public static void denyDeleteTable(String tableName)
public static void denyTruncateTable(String tableName)
public static void denyCreateView(String viewName)
public static void denyCreateViewWithSelect(String sourceName, Identity identity)
public static void denyCreateViewWithSelect(String sourceName, ConnectorIdentity identity)
public static void denyCreateViewWithSelect(String sourceName, ConnectorIdentity identity, String extraInfo)
public static void denyDropView(String viewName)
public static void denySelectView(String viewName)
public static void denyGrantTablePrivilege(String privilege, String tableName)
public static void denyGrantTablePrivilege(String privilege, String tableName, String extraInfo)
public static void denyRevokeTablePrivilege(String privilege, String tableName)
public static void denyRevokeTablePrivilege(String privilege, String tableName, String extraInfo)
public static void denyShowRoles(String catalogName)
public static void denyShowCurrentRoles(String catalogName)
public static void denyShowRoleGrants(String catalogName)
public static void denySetSystemSessionProperty(String propertyName)
public static void denySetSystemSessionProperty(String propertyName, String extraInfo)
public static void denySetCatalogSessionProperty(String catalogName, String propertyName)
public static void denySetCatalogSessionProperty(String catalogName, String propertyName, String extraInfo)
public static void denySetCatalogSessionProperty(String propertyName)
public static void denySelectColumns(String tableName, Collection<String> columnNames)
public static void denySelectColumns(String tableName, Collection<String> columnNames, String extraInfo)
public static void denyCreateRole(String roleName)
public static void denyDropRole(String roleName)
public static void denyGrantRoles(Set<String> roles, Set<PrestoPrincipal> grantees)
public static void denyRevokeRoles(Set<String> roles, Set<PrestoPrincipal> grantees)
public static void denySetRole(String role)
Copyright © 2012–2022. All rights reserved.