Uses of Class
io.trino.spi.security.Identity
Packages that use Identity
-
Uses of Identity in io.trino.spi.security
Methods in io.trino.spi.security that return IdentityModifier and TypeMethodDescriptionIdentity.Builder.build()SystemSecurityContext.getIdentity()static IdentityMethods in io.trino.spi.security that return types with arguments of type IdentityModifier and TypeMethodDescriptiondefault Collection<Identity> SystemAccessControl.filterViewQueryOwnedBy(Identity identity, Collection<Identity> queryOwners) Filter the list of users to those the identity view query owned by the user.Methods in io.trino.spi.security with parameters of type IdentityModifier and TypeMethodDescriptiondefault voidSystemAccessControl.checkCanExecuteQuery(Identity identity, QueryId queryId) Checks if identity can execute a query.default voidSystemAccessControl.checkCanImpersonateUser(Identity identity, String userName) Check if the identity is allowed impersonate the specified user.default voidSystemAccessControl.checkCanKillQueryOwnedBy(Identity identity, Identity queryOwner) Checks if identity can kill a query owned by the specified user.default voidSystemAccessControl.checkCanReadSystemInformation(Identity identity) Check if identity is allowed to read system information such as statistics, service registry, thread stacks, etc.default voidSystemAccessControl.checkCanSetSystemSessionProperty(Identity identity, QueryId queryId, String propertyName) Check if identity is allowed to set the specified system property.default voidSystemAccessControl.checkCanViewQueryOwnedBy(Identity identity, Identity queryOwner) Checks if identity can view a query owned by the specified user.default voidSystemAccessControl.checkCanWriteSystemInformation(Identity identity) Check if identity is allowed to write system information such as marking nodes offline, or changing runtime flags.static voidAccessDeniedException.denyCreateViewWithSelect(String sourceName, Identity identity) default Collection<Identity> SystemAccessControl.filterViewQueryOwnedBy(Identity identity, Collection<Identity> queryOwners) Filter the list of users to those the identity view query owned by the user.static Identity.BuilderMethod parameters in io.trino.spi.security with type arguments of type IdentityModifier and TypeMethodDescriptiondefault Collection<Identity> SystemAccessControl.filterViewQueryOwnedBy(Identity identity, Collection<Identity> queryOwners) Filter the list of users to those the identity view query owned by the user.Constructors in io.trino.spi.security with parameters of type IdentityModifierConstructorDescriptionSystemSecurityContext(Identity identity, QueryId queryId, Instant queryStart)