Package io.trino.testing
Class TestingAccessControlManager
- java.lang.Object
-
- io.trino.security.AccessControlManager
-
- io.trino.testing.TestingAccessControlManager
-
- All Implemented Interfaces:
AccessControl
public class TestingAccessControlManager extends AccessControlManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestingAccessControlManager.TestingPrivilegestatic classTestingAccessControlManager.TestingPrivilegeType
-
Constructor Summary
Constructors Constructor Description TestingAccessControlManager(TransactionManager transactionManager, EventListenerManager eventListenerManager)TestingAccessControlManager(TransactionManager transactionManager, EventListenerManager eventListenerManager, AccessControlConfig accessControlConfig)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcheckCanAddColumns(SecurityContext context, QualifiedObjectName tableName)Check if identity is allowed to add columns to the specified table.voidcheckCanCreateMaterializedView(SecurityContext context, QualifiedObjectName materializedViewName)Check if identity is allowed to create the specified materialized view.voidcheckCanCreateSchema(SecurityContext context, CatalogSchemaName schemaName)Check if identity is allowed to create the specified schema.voidcheckCanCreateTable(SecurityContext context, QualifiedObjectName tableName)Check if identity is allowed to create the specified table.voidcheckCanCreateTable(SecurityContext context, QualifiedObjectName tableName, Map<String,Object> properties)Check if identity is allowed to create the specified table with properties.voidcheckCanCreateView(SecurityContext context, QualifiedObjectName viewName)Check if identity is allowed to create the specified view.voidcheckCanCreateViewWithSelectFromColumns(SecurityContext context, QualifiedObjectName tableName, Set<String> columnNames)Check if identity is allowed to create a view that selects from the specified columns.voidcheckCanDeleteFromTable(SecurityContext context, QualifiedObjectName tableName)Check if identity is allowed to delete from the specified table.voidcheckCanDropColumn(SecurityContext context, QualifiedObjectName tableName)Check if identity is allowed to drop columns from the specified table.voidcheckCanDropMaterializedView(SecurityContext context, QualifiedObjectName materializedViewName)Check if identity is allowed to drop the specified materialized view.voidcheckCanDropSchema(SecurityContext context, CatalogSchemaName schemaName)Check if identity is allowed to drop the specified schema.voidcheckCanDropTable(SecurityContext context, QualifiedObjectName tableName)Check if identity is allowed to drop the specified table.voidcheckCanDropView(SecurityContext context, QualifiedObjectName viewName)Check if identity is allowed to drop the specified view.voidcheckCanExecuteFunction(SecurityContext context, String functionName)Check if identity is allowed to execute functionvoidcheckCanExecuteQuery(Identity identity)Checks if identity can execute a query.voidcheckCanGrantExecuteFunctionPrivilege(SecurityContext context, String functionName, Identity grantee, boolean grantOption)Check if identity is allowed to create a view that executes the function.voidcheckCanImpersonateUser(Identity identity, String userName)Check if the identity is allowed impersonate the specified user.voidcheckCanInsertIntoTable(SecurityContext context, QualifiedObjectName tableName)Check if identity is allowed to insert into the specified table.voidcheckCanKillQueryOwnedBy(Identity identity, Identity queryOwner)Checks if identity can kill a query owned by the specified user.voidcheckCanRefreshMaterializedView(SecurityContext context, QualifiedObjectName materializedViewName)Check if identity is allowed to refresh the specified materialized view.voidcheckCanRenameColumn(SecurityContext context, QualifiedObjectName tableName)Check if identity is allowed to rename a column in the specified table.voidcheckCanRenameMaterializedView(SecurityContext context, QualifiedObjectName viewName, QualifiedObjectName newViewName)Check if identity is allowed to rename the specified materialized view.voidcheckCanRenameSchema(SecurityContext context, CatalogSchemaName schemaName, String newSchemaName)Check if identity is allowed to rename the specified schema.voidcheckCanRenameTable(SecurityContext context, QualifiedObjectName tableName, QualifiedObjectName newTableName)Check if identity is allowed to rename the specified table.voidcheckCanRenameView(SecurityContext context, QualifiedObjectName viewName, QualifiedObjectName newViewName)Check if identity is allowed to rename the specified view.voidcheckCanSelectFromColumns(SecurityContext context, QualifiedObjectName tableName, Set<String> columns)Check if identity is allowed to select from the specified columns.voidcheckCanSetCatalogSessionProperty(SecurityContext context, String catalogName, String propertyName)Check if identity is allowed to set the specified catalog property.voidcheckCanSetColumnComment(SecurityContext context, QualifiedObjectName tableName)Check if identity is allowed to comment the specified column.voidcheckCanSetSystemSessionProperty(Identity identity, String propertyName)Check if identity is allowed to set the specified system property.voidcheckCanSetTableComment(SecurityContext context, QualifiedObjectName tableName)Check if identity is allowed to comment the specified table.voidcheckCanSetTableProperties(SecurityContext context, QualifiedObjectName tableName, Map<String,Object> properties)Check if identity is allowed to set properties to the specified table.voidcheckCanSetUser(Optional<Principal> principal, String userName)Deprecated.voidcheckCanShowColumns(SecurityContext context, CatalogSchemaTableName table)Check if identity is allowed to show columns of tables by executing SHOW COLUMNS, DESCRIBE etc.voidcheckCanShowCreateTable(SecurityContext context, QualifiedObjectName tableName)Check if identity is allowed to execute SHOW CREATE TABLE, SHOW CREATE VIEW or SHOW CREATE MATERIALIZED VIEWvoidcheckCanTruncateTable(SecurityContext context, QualifiedObjectName tableName)Check if identity is allowed to truncate the specified table.voidcheckCanUpdateTableColumns(SecurityContext context, QualifiedObjectName tableName, Set<String> updatedColumnNames)Check if identity is allowed to update the specified table.voidcheckCanViewQueryOwnedBy(Identity identity, Identity queryOwner)Checks if identity can view a query owned by the specified user.voidcolumnMask(QualifiedObjectName table, String column, String identity, ViewExpression mask)voiddeny(TestingAccessControlManager.TestingPrivilege... deniedPrivileges)voiddenyCatalogs(Predicate<String> deniedCatalogs)voiddenyIdentityTable(BiPredicate<Identity,String> denyIdentityTable)voiddenyTables(Predicate<SchemaTableName> deniedTables)Set<String>filterCatalogs(Identity identity, Set<String> catalogs)Filter the list of catalogs to those visible to the identity.Set<String>filterColumns(SecurityContext context, CatalogSchemaTableName table, Set<String> columns)Filter the list of columns to those visible to the identity.Collection<Identity>filterQueriesOwnedBy(Identity identity, Collection<Identity> owners)Filter the list of users to those the identity view query owned by the user.Set<SchemaTableName>filterTables(SecurityContext context, String catalogName, Set<SchemaTableName> tableNames)Filter the list of tables, materialized views and views to those visible to the identity.List<ViewExpression>getColumnMasks(SecurityContext context, QualifiedObjectName tableName, String column, Type type)List<ViewExpression>getRowFilters(SecurityContext context, QualifiedObjectName tableName)voidloadSystemAccessControl(String name, Map<String,String> properties)static TestingAccessControlManager.TestingPrivilegeprivilege(String entityName, TestingAccessControlManager.TestingPrivilegeType type)static TestingAccessControlManager.TestingPrivilegeprivilege(String actorName, String entityName, TestingAccessControlManager.TestingPrivilegeType type)voidreset()voidrowFilter(QualifiedObjectName table, String identity, ViewExpression filter)-
Methods inherited from class io.trino.security.AccessControlManager
addCatalogAccessControl, addSystemAccessControl, addSystemAccessControlFactory, checkCanCreateRole, checkCanDenySchemaPrivilege, checkCanDenyTablePrivilege, checkCanDropRole, checkCanExecuteProcedure, checkCanExecuteTableProcedure, checkCanGrantRoles, checkCanGrantSchemaPrivilege, checkCanGrantTablePrivilege, checkCanReadSystemInformation, checkCanRevokeRoles, checkCanRevokeSchemaPrivilege, checkCanRevokeTablePrivilege, checkCanSetCatalogRole, checkCanSetSchemaAuthorization, checkCanSetTableAuthorization, checkCanSetViewAuthorization, checkCanShowCreateSchema, checkCanShowCurrentRoles, checkCanShowRoleAuthorizationDescriptors, checkCanShowRoleGrants, checkCanShowRoles, checkCanShowSchemas, checkCanShowTables, checkCanWriteSystemInformation, filterSchemas, getAuthorizationFail, getAuthorizationSuccess, loadSystemAccessControl, removeCatalogAccessControl, setSystemAccessControl, setSystemAccessControls
-
-
-
-
Constructor Detail
-
TestingAccessControlManager
@Inject public TestingAccessControlManager(TransactionManager transactionManager, EventListenerManager eventListenerManager, AccessControlConfig accessControlConfig)
-
TestingAccessControlManager
public TestingAccessControlManager(TransactionManager transactionManager, EventListenerManager eventListenerManager)
-
-
Method Detail
-
loadSystemAccessControl
public void loadSystemAccessControl(String name, Map<String,String> properties)
-
privilege
public static TestingAccessControlManager.TestingPrivilege privilege(String entityName, TestingAccessControlManager.TestingPrivilegeType type)
-
privilege
public static TestingAccessControlManager.TestingPrivilege privilege(String actorName, String entityName, TestingAccessControlManager.TestingPrivilegeType type)
-
deny
public void deny(TestingAccessControlManager.TestingPrivilege... deniedPrivileges)
-
rowFilter
public void rowFilter(QualifiedObjectName table, String identity, ViewExpression filter)
-
columnMask
public void columnMask(QualifiedObjectName table, String column, String identity, ViewExpression mask)
-
reset
public void reset()
-
denyTables
public void denyTables(Predicate<SchemaTableName> deniedTables)
-
denyIdentityTable
public void denyIdentityTable(BiPredicate<Identity,String> denyIdentityTable)
-
filterCatalogs
public Set<String> filterCatalogs(Identity identity, Set<String> catalogs)
Description copied from interface:AccessControlFilter the list of catalogs to those visible to the identity.- Specified by:
filterCatalogsin interfaceAccessControl- Overrides:
filterCatalogsin classAccessControlManager
-
filterTables
public Set<SchemaTableName> filterTables(SecurityContext context, String catalogName, Set<SchemaTableName> tableNames)
Description copied from interface:AccessControlFilter the list of tables, materialized views and views to those visible to the identity.- Specified by:
filterTablesin interfaceAccessControl- Overrides:
filterTablesin classAccessControlManager
-
checkCanImpersonateUser
public void checkCanImpersonateUser(Identity identity, String userName)
Description copied from interface:AccessControlCheck if the identity is allowed impersonate the specified user.- Specified by:
checkCanImpersonateUserin interfaceAccessControl- Overrides:
checkCanImpersonateUserin classAccessControlManager
-
checkCanSetUser
@Deprecated public void checkCanSetUser(Optional<Principal> principal, String userName)
Deprecated.Description copied from interface:AccessControlCheck if the principal is allowed to be the specified user.- Specified by:
checkCanSetUserin interfaceAccessControl- Overrides:
checkCanSetUserin classAccessControlManager
-
checkCanExecuteQuery
public void checkCanExecuteQuery(Identity identity)
Description copied from interface:AccessControlChecks if identity can execute a query.- Specified by:
checkCanExecuteQueryin interfaceAccessControl- Overrides:
checkCanExecuteQueryin classAccessControlManager
-
checkCanViewQueryOwnedBy
public void checkCanViewQueryOwnedBy(Identity identity, Identity queryOwner)
Description copied from interface:AccessControlChecks if identity can view a query owned by the specified user. The method will not be called when the current user is the query owner.- Specified by:
checkCanViewQueryOwnedByin interfaceAccessControl- Overrides:
checkCanViewQueryOwnedByin classAccessControlManager
-
filterQueriesOwnedBy
public Collection<Identity> filterQueriesOwnedBy(Identity identity, Collection<Identity> owners)
Description copied from interface:AccessControlFilter the list of users to those the identity view query owned by the user. The method will not be called with the current user in the set.- Specified by:
filterQueriesOwnedByin interfaceAccessControl- Overrides:
filterQueriesOwnedByin classAccessControlManager
-
checkCanKillQueryOwnedBy
public void checkCanKillQueryOwnedBy(Identity identity, Identity queryOwner)
Description copied from interface:AccessControlChecks if identity can kill a query owned by the specified user. The method will not be called when the current user is the query owner.- Specified by:
checkCanKillQueryOwnedByin interfaceAccessControl- Overrides:
checkCanKillQueryOwnedByin classAccessControlManager
-
checkCanCreateSchema
public void checkCanCreateSchema(SecurityContext context, CatalogSchemaName schemaName)
Description copied from interface:AccessControlCheck if identity is allowed to create the specified schema.- Specified by:
checkCanCreateSchemain interfaceAccessControl- Overrides:
checkCanCreateSchemain classAccessControlManager
-
checkCanDropSchema
public void checkCanDropSchema(SecurityContext context, CatalogSchemaName schemaName)
Description copied from interface:AccessControlCheck if identity is allowed to drop the specified schema.- Specified by:
checkCanDropSchemain interfaceAccessControl- Overrides:
checkCanDropSchemain classAccessControlManager
-
checkCanRenameSchema
public void checkCanRenameSchema(SecurityContext context, CatalogSchemaName schemaName, String newSchemaName)
Description copied from interface:AccessControlCheck if identity is allowed to rename the specified schema.- Specified by:
checkCanRenameSchemain interfaceAccessControl- Overrides:
checkCanRenameSchemain classAccessControlManager
-
checkCanShowCreateTable
public void checkCanShowCreateTable(SecurityContext context, QualifiedObjectName tableName)
Description copied from interface:AccessControlCheck if identity is allowed to execute SHOW CREATE TABLE, SHOW CREATE VIEW or SHOW CREATE MATERIALIZED VIEW- Specified by:
checkCanShowCreateTablein interfaceAccessControl- Overrides:
checkCanShowCreateTablein classAccessControlManager
-
checkCanCreateTable
public void checkCanCreateTable(SecurityContext context, QualifiedObjectName tableName)
Description copied from interface:AccessControlCheck if identity is allowed to create the specified table.- Specified by:
checkCanCreateTablein interfaceAccessControl- Overrides:
checkCanCreateTablein classAccessControlManager
-
checkCanCreateTable
public void checkCanCreateTable(SecurityContext context, QualifiedObjectName tableName, Map<String,Object> properties)
Description copied from interface:AccessControlCheck if identity is allowed to create the specified table with properties.- Specified by:
checkCanCreateTablein interfaceAccessControl- Overrides:
checkCanCreateTablein classAccessControlManager
-
checkCanDropTable
public void checkCanDropTable(SecurityContext context, QualifiedObjectName tableName)
Description copied from interface:AccessControlCheck if identity is allowed to drop the specified table.- Specified by:
checkCanDropTablein interfaceAccessControl- Overrides:
checkCanDropTablein classAccessControlManager
-
checkCanRenameTable
public void checkCanRenameTable(SecurityContext context, QualifiedObjectName tableName, QualifiedObjectName newTableName)
Description copied from interface:AccessControlCheck if identity is allowed to rename the specified table.- Specified by:
checkCanRenameTablein interfaceAccessControl- Overrides:
checkCanRenameTablein classAccessControlManager
-
checkCanSetTableProperties
public void checkCanSetTableProperties(SecurityContext context, QualifiedObjectName tableName, Map<String,Object> properties)
Description copied from interface:AccessControlCheck if identity is allowed to set properties to the specified table.- Specified by:
checkCanSetTablePropertiesin interfaceAccessControl- Overrides:
checkCanSetTablePropertiesin classAccessControlManager
-
checkCanSetTableComment
public void checkCanSetTableComment(SecurityContext context, QualifiedObjectName tableName)
Description copied from interface:AccessControlCheck if identity is allowed to comment the specified table.- Specified by:
checkCanSetTableCommentin interfaceAccessControl- Overrides:
checkCanSetTableCommentin classAccessControlManager
-
checkCanSetColumnComment
public void checkCanSetColumnComment(SecurityContext context, QualifiedObjectName tableName)
Description copied from interface:AccessControlCheck if identity is allowed to comment the specified column.- Specified by:
checkCanSetColumnCommentin interfaceAccessControl- Overrides:
checkCanSetColumnCommentin classAccessControlManager
-
checkCanAddColumns
public void checkCanAddColumns(SecurityContext context, QualifiedObjectName tableName)
Description copied from interface:AccessControlCheck if identity is allowed to add columns to the specified table.- Specified by:
checkCanAddColumnsin interfaceAccessControl- Overrides:
checkCanAddColumnsin classAccessControlManager
-
checkCanDropColumn
public void checkCanDropColumn(SecurityContext context, QualifiedObjectName tableName)
Description copied from interface:AccessControlCheck if identity is allowed to drop columns from the specified table.- Specified by:
checkCanDropColumnin interfaceAccessControl- Overrides:
checkCanDropColumnin classAccessControlManager
-
checkCanRenameColumn
public void checkCanRenameColumn(SecurityContext context, QualifiedObjectName tableName)
Description copied from interface:AccessControlCheck if identity is allowed to rename a column in the specified table.- Specified by:
checkCanRenameColumnin interfaceAccessControl- Overrides:
checkCanRenameColumnin classAccessControlManager
-
checkCanInsertIntoTable
public void checkCanInsertIntoTable(SecurityContext context, QualifiedObjectName tableName)
Description copied from interface:AccessControlCheck if identity is allowed to insert into the specified table.- Specified by:
checkCanInsertIntoTablein interfaceAccessControl- Overrides:
checkCanInsertIntoTablein classAccessControlManager
-
checkCanDeleteFromTable
public void checkCanDeleteFromTable(SecurityContext context, QualifiedObjectName tableName)
Description copied from interface:AccessControlCheck if identity is allowed to delete from the specified table.- Specified by:
checkCanDeleteFromTablein interfaceAccessControl- Overrides:
checkCanDeleteFromTablein classAccessControlManager
-
checkCanTruncateTable
public void checkCanTruncateTable(SecurityContext context, QualifiedObjectName tableName)
Description copied from interface:AccessControlCheck if identity is allowed to truncate the specified table.- Specified by:
checkCanTruncateTablein interfaceAccessControl- Overrides:
checkCanTruncateTablein classAccessControlManager
-
checkCanUpdateTableColumns
public void checkCanUpdateTableColumns(SecurityContext context, QualifiedObjectName tableName, Set<String> updatedColumnNames)
Description copied from interface:AccessControlCheck if identity is allowed to update the specified table.- Specified by:
checkCanUpdateTableColumnsin interfaceAccessControl- Overrides:
checkCanUpdateTableColumnsin classAccessControlManager
-
checkCanCreateView
public void checkCanCreateView(SecurityContext context, QualifiedObjectName viewName)
Description copied from interface:AccessControlCheck if identity is allowed to create the specified view.- Specified by:
checkCanCreateViewin interfaceAccessControl- Overrides:
checkCanCreateViewin classAccessControlManager
-
checkCanRenameView
public void checkCanRenameView(SecurityContext context, QualifiedObjectName viewName, QualifiedObjectName newViewName)
Description copied from interface:AccessControlCheck if identity is allowed to rename the specified view.- Specified by:
checkCanRenameViewin interfaceAccessControl- Overrides:
checkCanRenameViewin classAccessControlManager
-
checkCanDropView
public void checkCanDropView(SecurityContext context, QualifiedObjectName viewName)
Description copied from interface:AccessControlCheck if identity is allowed to drop the specified view.- Specified by:
checkCanDropViewin interfaceAccessControl- Overrides:
checkCanDropViewin classAccessControlManager
-
checkCanSetSystemSessionProperty
public void checkCanSetSystemSessionProperty(Identity identity, String propertyName)
Description copied from interface:AccessControlCheck if identity is allowed to set the specified system property.- Specified by:
checkCanSetSystemSessionPropertyin interfaceAccessControl- Overrides:
checkCanSetSystemSessionPropertyin classAccessControlManager
-
checkCanCreateViewWithSelectFromColumns
public void checkCanCreateViewWithSelectFromColumns(SecurityContext context, QualifiedObjectName tableName, Set<String> columnNames)
Description copied from interface:AccessControlCheck if identity is allowed to create a view that selects from the specified columns.- Specified by:
checkCanCreateViewWithSelectFromColumnsin interfaceAccessControl- Overrides:
checkCanCreateViewWithSelectFromColumnsin classAccessControlManager
-
checkCanCreateMaterializedView
public void checkCanCreateMaterializedView(SecurityContext context, QualifiedObjectName materializedViewName)
Description copied from interface:AccessControlCheck if identity is allowed to create the specified materialized view.- Specified by:
checkCanCreateMaterializedViewin interfaceAccessControl- Overrides:
checkCanCreateMaterializedViewin classAccessControlManager
-
checkCanRefreshMaterializedView
public void checkCanRefreshMaterializedView(SecurityContext context, QualifiedObjectName materializedViewName)
Description copied from interface:AccessControlCheck if identity is allowed to refresh the specified materialized view.- Specified by:
checkCanRefreshMaterializedViewin interfaceAccessControl- Overrides:
checkCanRefreshMaterializedViewin classAccessControlManager
-
checkCanDropMaterializedView
public void checkCanDropMaterializedView(SecurityContext context, QualifiedObjectName materializedViewName)
Description copied from interface:AccessControlCheck if identity is allowed to drop the specified materialized view.- Specified by:
checkCanDropMaterializedViewin interfaceAccessControl- Overrides:
checkCanDropMaterializedViewin classAccessControlManager
-
checkCanRenameMaterializedView
public void checkCanRenameMaterializedView(SecurityContext context, QualifiedObjectName viewName, QualifiedObjectName newViewName)
Description copied from interface:AccessControlCheck if identity is allowed to rename the specified materialized view.- Specified by:
checkCanRenameMaterializedViewin interfaceAccessControl- Overrides:
checkCanRenameMaterializedViewin classAccessControlManager
-
checkCanGrantExecuteFunctionPrivilege
public void checkCanGrantExecuteFunctionPrivilege(SecurityContext context, String functionName, Identity grantee, boolean grantOption)
Description copied from interface:AccessControlCheck if identity is allowed to create a view that executes the function.- Specified by:
checkCanGrantExecuteFunctionPrivilegein interfaceAccessControl- Overrides:
checkCanGrantExecuteFunctionPrivilegein classAccessControlManager
-
checkCanShowColumns
public void checkCanShowColumns(SecurityContext context, CatalogSchemaTableName table)
Description copied from interface:AccessControlCheck if identity is allowed to show columns of tables by executing SHOW COLUMNS, DESCRIBE etc.NOTE: This method is only present to give users an error message when listing is not allowed. The
AccessControl.filterColumns(io.trino.security.SecurityContext, io.trino.spi.connector.CatalogSchemaTableName, java.util.Set<java.lang.String>)method must filter all results for unauthorized users, since there are multiple ways to list columns.- Specified by:
checkCanShowColumnsin interfaceAccessControl- Overrides:
checkCanShowColumnsin classAccessControlManager
-
filterColumns
public Set<String> filterColumns(SecurityContext context, CatalogSchemaTableName table, Set<String> columns)
Description copied from interface:AccessControlFilter the list of columns to those visible to the identity.- Specified by:
filterColumnsin interfaceAccessControl- Overrides:
filterColumnsin classAccessControlManager
-
checkCanSetCatalogSessionProperty
public void checkCanSetCatalogSessionProperty(SecurityContext context, String catalogName, String propertyName)
Description copied from interface:AccessControlCheck if identity is allowed to set the specified catalog property.- Specified by:
checkCanSetCatalogSessionPropertyin interfaceAccessControl- Overrides:
checkCanSetCatalogSessionPropertyin classAccessControlManager
-
checkCanSelectFromColumns
public void checkCanSelectFromColumns(SecurityContext context, QualifiedObjectName tableName, Set<String> columns)
Description copied from interface:AccessControlCheck if identity is allowed to select from the specified columns. The column set can be empty.- Specified by:
checkCanSelectFromColumnsin interfaceAccessControl- Overrides:
checkCanSelectFromColumnsin classAccessControlManager
-
checkCanExecuteFunction
public void checkCanExecuteFunction(SecurityContext context, String functionName)
Description copied from interface:AccessControlCheck if identity is allowed to execute function- Specified by:
checkCanExecuteFunctionin interfaceAccessControl- Overrides:
checkCanExecuteFunctionin classAccessControlManager
-
getRowFilters
public List<ViewExpression> getRowFilters(SecurityContext context, QualifiedObjectName tableName)
- Specified by:
getRowFiltersin interfaceAccessControl- Overrides:
getRowFiltersin classAccessControlManager
-
getColumnMasks
public List<ViewExpression> getColumnMasks(SecurityContext context, QualifiedObjectName tableName, String column, Type type)
- Specified by:
getColumnMasksin interfaceAccessControl- Overrides:
getColumnMasksin classAccessControlManager
-
-