Package io.trino.plugin.base.security
Class DefaultSystemAccessControl
- java.lang.Object
-
- io.trino.plugin.base.security.AllowAllSystemAccessControl
-
- io.trino.plugin.base.security.DefaultSystemAccessControl
-
- All Implemented Interfaces:
SystemAccessControl
public class DefaultSystemAccessControl extends AllowAllSystemAccessControl
Default system access control rules. By default all access is allowed except for user impersonation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultSystemAccessControl.Factory
-
Constructor Summary
Constructors Constructor Description DefaultSystemAccessControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckCanImpersonateUser(SystemSecurityContext context, String userName)-
Methods inherited from class io.trino.plugin.base.security.AllowAllSystemAccessControl
checkCanAccessCatalog, checkCanAddColumn, checkCanCreateSchema, checkCanCreateTable, checkCanCreateView, checkCanCreateViewWithSelectFromColumns, checkCanDeleteFromTable, checkCanDropColumn, checkCanDropSchema, checkCanDropTable, checkCanDropView, checkCanExecuteFunction, checkCanExecuteProcedure, checkCanExecuteQuery, checkCanGrantExecuteFunctionPrivilege, checkCanGrantSchemaPrivilege, checkCanGrantTablePrivilege, checkCanInsertIntoTable, checkCanKillQueryOwnedBy, checkCanReadSystemInformation, checkCanRenameColumn, checkCanRenameSchema, checkCanRenameTable, checkCanRenameView, checkCanRevokeSchemaPrivilege, checkCanRevokeTablePrivilege, checkCanSelectFromColumns, checkCanSetCatalogSessionProperty, checkCanSetColumnComment, checkCanSetSchemaAuthorization, checkCanSetSystemSessionProperty, checkCanSetTableAuthorization, checkCanSetTableComment, checkCanSetUser, checkCanSetViewAuthorization, checkCanShowColumns, checkCanShowCreateSchema, checkCanShowCreateTable, checkCanShowRoles, checkCanShowSchemas, checkCanShowTables, checkCanUpdateTableColumns, checkCanViewQueryOwnedBy, checkCanWriteSystemInformation, filterCatalogs, filterColumns, filterSchemas, filterTables, filterViewQueryOwnedBy, getColumnMask, getEventListeners, getRowFilter
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkCanImpersonateUser
public void checkCanImpersonateUser(SystemSecurityContext context, String userName)
- Specified by:
checkCanImpersonateUserin interfaceSystemAccessControl- Overrides:
checkCanImpersonateUserin classAllowAllSystemAccessControl
-
-