public interface ConnectorAccessControl
| Modifier and Type | Method and Description |
|---|---|
void |
checkCanAddColumn(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to add columns to the specified table in this catalog.
|
void |
checkCanCreateTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to create the specified table in this catalog.
|
void |
checkCanCreateView(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName viewName)
Check if identity is allowed to create the specified view in this catalog.
|
void |
checkCanCreateViewWithSelectFromTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to create a view that selects from the specified table in this catalog.
|
void |
checkCanCreateViewWithSelectFromView(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName viewName)
Check if identity is allowed to create a view that selects from the specified view in this catalog.
|
void |
checkCanDeleteFromTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to delete from the specified table in this catalog.
|
void |
checkCanDropTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to drop the specified table in this catalog.
|
void |
checkCanDropView(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName viewName)
Check if identity is allowed to drop the specified view in this catalog.
|
void |
checkCanGrantTablePrivilege(Identity identity,
Privilege privilege,
SchemaTableName tableName)
Check if identity is allowed to grant to any other user the specified privilege on the specified table.
|
void |
checkCanInsertIntoTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to insert into the specified table in this catalog.
|
void |
checkCanRenameColumn(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to rename a column in the specified table in this catalog.
|
void |
checkCanRenameTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName,
SchemaTableName newTableName)
Check if identity is allowed to rename the specified table in this catalog.
|
void |
checkCanSelectFromTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to select from the specified table in this catalog.
|
void |
checkCanSelectFromView(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName viewName)
Check if identity is allowed to select from the specified view in this catalog.
|
void |
checkCanSetCatalogSessionProperty(Identity identity,
String propertyName)
Check if identity is allowed to set the specified property in this catalog.
|
void checkCanCreateTable(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName)
AccessDeniedException - if not allowedvoid checkCanDropTable(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName)
AccessDeniedException - if not allowedvoid checkCanRenameTable(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName, SchemaTableName newTableName)
AccessDeniedException - if not allowedvoid checkCanAddColumn(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName)
AccessDeniedException - if not allowedvoid checkCanRenameColumn(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName)
AccessDeniedException - if not allowedvoid checkCanSelectFromTable(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName)
AccessDeniedException - if not allowedvoid checkCanInsertIntoTable(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName)
AccessDeniedException - if not allowedvoid checkCanDeleteFromTable(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName)
AccessDeniedException - if not allowedvoid checkCanCreateView(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName viewName)
AccessDeniedException - if not allowedvoid checkCanDropView(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName viewName)
AccessDeniedException - if not allowedvoid checkCanSelectFromView(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName viewName)
AccessDeniedException - if not allowedvoid checkCanCreateViewWithSelectFromTable(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName)
AccessDeniedException - if not allowedvoid checkCanCreateViewWithSelectFromView(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName viewName)
AccessDeniedException - if not allowedvoid checkCanSetCatalogSessionProperty(Identity identity, String propertyName)
AccessDeniedException - if not allowedvoid checkCanGrantTablePrivilege(Identity identity, Privilege privilege, SchemaTableName tableName)
AccessDeniedException - if not allowedCopyright © 2012-2016. All Rights Reserved.