public class ReadOnlySystemAccessControl extends Object implements SystemAccessControl
| Modifier and Type | Class and Description |
|---|---|
static class |
ReadOnlySystemAccessControl.Factory |
| Constructor and Description |
|---|
ReadOnlySystemAccessControl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckCanAddColumn, checkCanCreateSchema, checkCanCreateTable, checkCanCreateView, checkCanDeleteFromTable, checkCanDropColumn, checkCanDropSchema, checkCanDropTable, checkCanDropView, checkCanExecuteProcedure, checkCanGrantTablePrivilege, checkCanInsertIntoTable, checkCanKillQueryOwnedBy, checkCanRenameColumn, checkCanRenameSchema, checkCanRenameTable, checkCanRenameView, checkCanRevokeTablePrivilege, checkCanSetSchemaAuthorization, checkCanSetTableComment, checkCanShowCreateTable, getColumnMask, getRowFilterpublic static final String NAME
public void checkCanImpersonateUser(SystemSecurityContext context, String userName)
checkCanImpersonateUser in interface SystemAccessControlpublic void checkCanSetUser(Optional<Principal> principal, String userName)
checkCanSetUser in interface SystemAccessControlpublic void checkCanExecuteQuery(SystemSecurityContext context)
checkCanExecuteQuery in interface SystemAccessControlpublic void checkCanViewQueryOwnedBy(SystemSecurityContext context, String queryOwner)
checkCanViewQueryOwnedBy in interface SystemAccessControlpublic Set<String> filterViewQueryOwnedBy(SystemSecurityContext context, Set<String> queryOwners)
filterViewQueryOwnedBy in interface SystemAccessControlpublic void checkCanSetSystemSessionProperty(SystemSecurityContext context, String propertyName)
checkCanSetSystemSessionProperty in interface SystemAccessControlpublic void checkCanAccessCatalog(SystemSecurityContext context, String catalogName)
checkCanAccessCatalog in interface SystemAccessControlpublic void checkCanSelectFromColumns(SystemSecurityContext context, CatalogSchemaTableName table, Set<String> columns)
checkCanSelectFromColumns in interface SystemAccessControlpublic void checkCanSetCatalogSessionProperty(SystemSecurityContext context, String catalogName, String propertyName)
checkCanSetCatalogSessionProperty in interface SystemAccessControlpublic void checkCanCreateViewWithSelectFromColumns(SystemSecurityContext context, CatalogSchemaTableName table, Set<String> columns)
checkCanCreateViewWithSelectFromColumns in interface SystemAccessControlpublic void checkCanGrantExecuteFunctionPrivilege(SystemSecurityContext context, String functionName, PrestoPrincipal grantee, boolean grantOption)
checkCanGrantExecuteFunctionPrivilege in interface SystemAccessControlpublic Set<String> filterCatalogs(SystemSecurityContext context, Set<String> catalogs)
filterCatalogs in interface SystemAccessControlpublic Set<String> filterSchemas(SystemSecurityContext context, String catalogName, Set<String> schemaNames)
filterSchemas in interface SystemAccessControlpublic Set<SchemaTableName> filterTables(SystemSecurityContext context, String catalogName, Set<SchemaTableName> tableNames)
filterTables in interface SystemAccessControlpublic void checkCanShowColumns(SystemSecurityContext context, CatalogSchemaTableName table)
checkCanShowColumns in interface SystemAccessControlpublic List<ColumnMetadata> filterColumns(SystemSecurityContext context, CatalogSchemaTableName tableName, List<ColumnMetadata> columns)
filterColumns in interface SystemAccessControlpublic void checkCanShowSchemas(SystemSecurityContext context, String catalogName)
checkCanShowSchemas in interface SystemAccessControlpublic void checkCanShowTables(SystemSecurityContext context, CatalogSchemaName schema)
checkCanShowTables in interface SystemAccessControlpublic void checkCanShowRoles(SystemSecurityContext context, String catalogName)
checkCanShowRoles in interface SystemAccessControlpublic void checkCanExecuteFunction(SystemSecurityContext systemSecurityContext, String functionName)
checkCanExecuteFunction in interface SystemAccessControlCopyright © 2012–2020. All rights reserved.