Uses of Class
io.trino.spi.security.SystemSecurityContext
Packages that use SystemSecurityContext
-
Uses of SystemSecurityContext in io.trino.spi.security
Methods in io.trino.spi.security with parameters of type SystemSecurityContextModifier and TypeMethodDescriptiondefault booleanSystemAccessControl.canAccessCatalog(SystemSecurityContext context, String catalogName) Is identity allowed to access the specified catalog?default booleanSystemAccessControl.canCreateViewWithExecuteFunction(SystemSecurityContext systemSecurityContext, CatalogSchemaRoutineName functionName) Is identity allowed to create a view that executes the specified function?default booleanSystemAccessControl.canExecuteFunction(SystemSecurityContext systemSecurityContext, CatalogSchemaRoutineName functionName) Is identity allowed to execute the specified function?default voidSystemAccessControl.checkCanAddColumn(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to add columns to the specified table in a catalog.default voidSystemAccessControl.checkCanAlterColumn(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to alter columns for the specified table in a catalog.default voidSystemAccessControl.checkCanCreateCatalog(SystemSecurityContext context, String catalog) Check if identity is allowed to create the specified catalog.default voidSystemAccessControl.checkCanCreateFunction(SystemSecurityContext systemSecurityContext, CatalogSchemaRoutineName functionName) Check if identity is allowed to create the specified function in the catalog.default voidSystemAccessControl.checkCanCreateMaterializedView(SystemSecurityContext context, CatalogSchemaTableName materializedView, Map<String, Object> properties) Check if identity is allowed to create the specified materialized view in a catalog.default voidSystemAccessControl.checkCanCreateRole(SystemSecurityContext context, String role, Optional<TrinoPrincipal> grantor) Check if identity is allowed to create the specified role.default voidSystemAccessControl.checkCanCreateSchema(SystemSecurityContext context, CatalogSchemaName schema, Map<String, Object> properties) Check if identity is allowed to create the specified schema with properties in a catalog.default voidSystemAccessControl.checkCanCreateTable(SystemSecurityContext context, CatalogSchemaTableName table, Map<String, Object> properties) Check if identity is allowed to create the specified table with properties in a catalog.default voidSystemAccessControl.checkCanCreateView(SystemSecurityContext context, CatalogSchemaTableName view) Check if identity is allowed to create the specified view in a catalog.default voidSystemAccessControl.checkCanCreateViewWithSelectFromColumns(SystemSecurityContext context, CatalogSchemaTableName table, Set<String> columns) Check if identity is allowed to create a view that selects from the specified columns in a relation.default voidSystemAccessControl.checkCanDeleteFromTable(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to delete from the specified table in a catalog.default voidSystemAccessControl.checkCanDenySchemaPrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaName schema, TrinoPrincipal grantee) Check if identity is allowed to deny the specified privilege to the grantee on the specified schema.default voidSystemAccessControl.checkCanDenyTablePrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaTableName table, TrinoPrincipal grantee) Check if identity is allowed to deny the specified privilege to the grantee on the specified table.default voidSystemAccessControl.checkCanDropCatalog(SystemSecurityContext context, String catalog) Check if identity is allowed to drop the specified catalog.default voidSystemAccessControl.checkCanDropColumn(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to drop columns from the specified table in a catalog.default voidSystemAccessControl.checkCanDropFunction(SystemSecurityContext systemSecurityContext, CatalogSchemaRoutineName functionName) Check if identity is allowed to drop the specified function in the catalog.default voidSystemAccessControl.checkCanDropMaterializedView(SystemSecurityContext context, CatalogSchemaTableName materializedView) Check if identity is allowed to drop the specified materialized view in a catalog.default voidSystemAccessControl.checkCanDropRole(SystemSecurityContext context, String role) Check if identity is allowed to drop the specified role.default voidSystemAccessControl.checkCanDropSchema(SystemSecurityContext context, CatalogSchemaName schema) Check if identity is allowed to drop the specified schema in a catalog.default voidSystemAccessControl.checkCanDropTable(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to drop the specified table in a catalog.default voidSystemAccessControl.checkCanDropView(SystemSecurityContext context, CatalogSchemaTableName view) Check if identity is allowed to drop the specified view in a catalog.default voidSystemAccessControl.checkCanExecuteProcedure(SystemSecurityContext systemSecurityContext, CatalogSchemaRoutineName procedure) Check if identity is allowed to execute the specified proceduredefault voidSystemAccessControl.checkCanExecuteTableProcedure(SystemSecurityContext systemSecurityContext, CatalogSchemaTableName table, String procedure) Check if identity is allowed to execute the specified table procedure on specified tabledefault voidSystemAccessControl.checkCanGrantRoles(SystemSecurityContext context, Set<String> roles, Set<TrinoPrincipal> grantees, boolean adminOption, Optional<TrinoPrincipal> grantor) Check if identity is allowed to grant the specified roles to the specified principals.default voidSystemAccessControl.checkCanGrantSchemaPrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaName schema, TrinoPrincipal grantee, boolean grantOption) Check if identity is allowed to grant the specified privilege to the grantee on the specified schema.default voidSystemAccessControl.checkCanGrantTablePrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaTableName table, TrinoPrincipal grantee, boolean grantOption) Check if identity is allowed to grant the specified privilege to the grantee on the specified table.default voidSystemAccessControl.checkCanInsertIntoTable(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to insert into the specified table in a catalog.default voidSystemAccessControl.checkCanRefreshMaterializedView(SystemSecurityContext context, CatalogSchemaTableName materializedView) Check if identity is allowed to refresh the specified materialized view in a catalog.default voidSystemAccessControl.checkCanRenameColumn(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to rename a column in the specified table in a catalog.default voidSystemAccessControl.checkCanRenameMaterializedView(SystemSecurityContext context, CatalogSchemaTableName view, CatalogSchemaTableName newView) Check if identity is allowed to rename the specified materialized view in a catalog.default voidSystemAccessControl.checkCanRenameSchema(SystemSecurityContext context, CatalogSchemaName schema, String newSchemaName) Check if identity is allowed to rename the specified schema in a catalog.default voidSystemAccessControl.checkCanRenameTable(SystemSecurityContext context, CatalogSchemaTableName table, CatalogSchemaTableName newTable) Check if identity is allowed to rename the specified table in a catalog.default voidSystemAccessControl.checkCanRenameView(SystemSecurityContext context, CatalogSchemaTableName view, CatalogSchemaTableName newView) Check if identity is allowed to rename the specified view in a catalog.default voidSystemAccessControl.checkCanRevokeRoles(SystemSecurityContext context, Set<String> roles, Set<TrinoPrincipal> grantees, boolean adminOption, Optional<TrinoPrincipal> grantor) Check if identity is allowed to revoke the specified roles from the specified principals.default voidSystemAccessControl.checkCanRevokeSchemaPrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaName schema, TrinoPrincipal revokee, boolean grantOption) Check if identity is allowed to revoke the specified privilege on the specified schema from the revokee.default voidSystemAccessControl.checkCanRevokeTablePrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaTableName table, TrinoPrincipal revokee, boolean grantOption) Check if identity is allowed to revoke the specified privilege on the specified table from the revokee.default voidSystemAccessControl.checkCanSelectFromColumns(SystemSecurityContext context, CatalogSchemaTableName table, Set<String> columns) Check if identity is allowed to select from the specified columns in a relation.default voidSystemAccessControl.checkCanSetCatalogSessionProperty(SystemSecurityContext context, String catalogName, String propertyName) Check if identity is allowed to set the specified property in a catalog.default voidSystemAccessControl.checkCanSetColumnComment(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to set comment to column in the specified table in a catalog.default voidSystemAccessControl.checkCanSetMaterializedViewProperties(SystemSecurityContext context, CatalogSchemaTableName materializedView, Map<String, Optional<Object>> properties) Check if identity is allowed to set the properties of the specified materialized view in a catalog.default voidSystemAccessControl.checkCanSetSchemaAuthorization(SystemSecurityContext context, CatalogSchemaName schema, TrinoPrincipal principal) Check if identity is allowed to change the specified schema's user/role.default voidSystemAccessControl.checkCanSetTableAuthorization(SystemSecurityContext context, CatalogSchemaTableName table, TrinoPrincipal principal) Check if identity is allowed to change the specified table's user/role.default voidSystemAccessControl.checkCanSetTableComment(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to comment the specified table in a catalog.default voidSystemAccessControl.checkCanSetTableProperties(SystemSecurityContext context, CatalogSchemaTableName table, Map<String, Optional<Object>> properties) Check if identity is allowed to alter properties to the specified table in a catalog.default voidSystemAccessControl.checkCanSetViewAuthorization(SystemSecurityContext context, CatalogSchemaTableName view, TrinoPrincipal principal) Check if identity is allowed to change the specified view's user/role.default voidSystemAccessControl.checkCanSetViewComment(SystemSecurityContext context, CatalogSchemaTableName view) Check if identity is allowed to comment the specified view in a catalog.default voidSystemAccessControl.checkCanShowColumns(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to show columns of tables by executing SHOW COLUMNS, DESCRIBE etc.default voidSystemAccessControl.checkCanShowCreateSchema(SystemSecurityContext context, CatalogSchemaName schemaName) Check if identity is allowed to execute SHOW CREATE SCHEMA.default voidSystemAccessControl.checkCanShowCreateTable(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to execute SHOW CREATE TABLE, SHOW CREATE VIEW or SHOW CREATE MATERIALIZED VIEWdefault voidSystemAccessControl.checkCanShowCurrentRoles(SystemSecurityContext context) Check if identity is allowed to show current roles.default voidSystemAccessControl.checkCanShowFunctions(SystemSecurityContext context, CatalogSchemaName schema) Check if identity is allowed to show functions by executing SHOW FUNCTIONS in a catalog schema.default voidSystemAccessControl.checkCanShowRoleGrants(SystemSecurityContext context) Check if identity is allowed to show its own role grants.default voidSystemAccessControl.checkCanShowRoles(SystemSecurityContext context) Check if identity is allowed to show roles.default voidSystemAccessControl.checkCanShowSchemas(SystemSecurityContext context, String catalogName) Check if identity is allowed to execute SHOW SCHEMAS in a catalog.default voidSystemAccessControl.checkCanShowTables(SystemSecurityContext context, CatalogSchemaName schema) Check if identity is allowed to show metadata of tables by executing SHOW TABLES, SHOW GRANTS etc.default voidSystemAccessControl.checkCanTruncateTable(SystemSecurityContext context, CatalogSchemaTableName table) Check if identity is allowed to truncate the specified table in a catalog.default voidSystemAccessControl.checkCanUpdateTableColumns(SystemSecurityContext securityContext, CatalogSchemaTableName table, Set<String> updatedColumnNames) Check if identity is allowed to update the supplied columns in the specified table in a catalog.SystemAccessControl.filterCatalogs(SystemSecurityContext context, Set<String> catalogs) Filter the list of catalogs to those visible to the identity.SystemAccessControl.filterColumns(SystemSecurityContext context, CatalogSchemaTableName table, Set<String> columns) Deprecated.default Map<SchemaTableName,Set<String>> SystemAccessControl.filterColumns(SystemSecurityContext context, String catalogName, Map<SchemaTableName, Set<String>> tableColumns) Filter lists of columns of multiple tables to those visible to the identity.default Set<SchemaFunctionName>SystemAccessControl.filterFunctions(SystemSecurityContext context, String catalogName, Set<SchemaFunctionName> functionNames) Filter the list of functions to those visible to the identity.SystemAccessControl.filterSchemas(SystemSecurityContext context, String catalogName, Set<String> schemaNames) Filter the list of schemas in a catalog to those visible to the identity.default Set<SchemaTableName>SystemAccessControl.filterTables(SystemSecurityContext context, String catalogName, Set<SchemaTableName> tableNames) Filter the list of tables and views to those visible to the identity.default Optional<ViewExpression>SystemAccessControl.getColumnMask(SystemSecurityContext context, CatalogSchemaTableName tableName, String columnName, Type type) Get column masks associated with the given table, column and identity.default List<ViewExpression>SystemAccessControl.getRowFilters(SystemSecurityContext context, CatalogSchemaTableName tableName) Get row filters associated with the given table and identity.
SystemAccessControl.filterColumns(SystemSecurityContext, String, Map)