Uses of Enum Class
org.apache.cassandra.auth.Permission
Packages that use Permission
Package
Description
-
Uses of Permission in org.apache.cassandra.auth
Fields in org.apache.cassandra.auth declared as PermissionFields in org.apache.cassandra.auth with type parameters of type PermissionModifier and TypeFieldDescriptionstatic final Set<Permission>Permission.ALLstatic final Set<Permission>Permission.INVALID_FOR_SYSTEM_KEYSPACESSet of Permissions which may never be granted on any system keyspace, or table in a system keyspace, to any role.static final Set<Permission>Permission.NONEMethods in org.apache.cassandra.auth that return PermissionModifier and TypeMethodDescriptionstatic PermissionReturns the enum constant of this class with the specified name.static Permission[]Permission.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.cassandra.auth that return types with arguments of type PermissionModifier and TypeMethodDescriptionDataResource.applicablePermissions()FunctionResource.applicablePermissions()IResource.applicablePermissions()Returns the set of Permissions that may be applied to this resource Certain permissions are not applicable to particular types of resources.JMXResource.applicablePermissions()RoleResource.applicablePermissions()AllowAllAuthorizer.authorize(AuthenticatedUser user, IResource resource) CassandraAuthorizer.authorize(AuthenticatedUser user, IResource resource) IAuthorizer.authorize(AuthenticatedUser user, IResource resource) Returns a set of permissions of a user on a resource.CassandraAuthorizer.bulkLoader()Get an initial set of permissions to load into the PermissionsCache at startupAuthenticatedUser.getPermissions(IResource resource) PermissionsCache.getPermissions(AuthenticatedUser user, IResource resource) AllowAllAuthorizer.grant(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource to) CassandraAuthorizer.grant(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource grantee) IAuthorizer.grant(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource grantee) Grants a set of permissions on a resource to a role.AllowAllAuthorizer.revoke(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource from) CassandraAuthorizer.revoke(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource revokee) IAuthorizer.revoke(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource revokee) Revokes a set of permissions on a resource from a user.Method parameters in org.apache.cassandra.auth with type arguments of type PermissionModifier and TypeMethodDescriptionAllowAllAuthorizer.grant(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource to) CassandraAuthorizer.grant(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource grantee) IAuthorizer.grant(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource grantee) Grants a set of permissions on a resource to a role.AllowAllAuthorizer.list(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource of) CassandraAuthorizer.list(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource grantee) IAuthorizer.list(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource grantee) Returns a list of permissions on a resource granted to a role.AllowAllAuthorizer.revoke(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource from) CassandraAuthorizer.revoke(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource revokee) IAuthorizer.revoke(AuthenticatedUser performer, Set<Permission> permissions, IResource resource, RoleResource revokee) Revokes a set of permissions on a resource from a user.Constructors in org.apache.cassandra.auth with parameters of type PermissionModifierConstructorDescriptionPermissionDetails(String grantee, IResource resource, Permission permission) -
Uses of Permission in org.apache.cassandra.cql3.statements
Fields in org.apache.cassandra.cql3.statements with type parameters of type PermissionModifier and TypeFieldDescriptionprotected final Set<Permission>ListPermissionsStatement.permissionsprotected final Set<Permission>PermissionsManagementStatement.permissionsMethods in org.apache.cassandra.cql3.statements with parameters of type PermissionModifier and TypeMethodDescriptionvoidAuthenticationStatement.checkPermission(ClientState state, Permission required, RoleResource resource) Constructor parameters in org.apache.cassandra.cql3.statements with type arguments of type PermissionModifierConstructorDescriptionGrantPermissionsStatement(Set<Permission> permissions, IResource resource, RoleName grantee) ListPermissionsStatement(Set<Permission> permissions, IResource resource, RoleName grantee, boolean recursive) protectedPermissionsManagementStatement(Set<Permission> permissions, IResource resource, RoleName grantee) RevokePermissionsStatement(Set<Permission> permissions, IResource resource, RoleName grantee) -
Uses of Permission in org.apache.cassandra.service
Methods in org.apache.cassandra.service with parameters of type PermissionModifier and TypeMethodDescriptionvoidClientState.ensureAllKeyspacesPermission(Permission perm) voidClientState.ensureAllTablesPermission(String keyspace, Permission perm) voidClientState.ensureKeyspacePermission(String keyspace, Permission perm) voidClientState.ensurePermission(Permission perm, IResource resource) voidClientState.ensurePermission(Permission permission, Function function) voidClientState.ensureTablePermission(String keyspace, String table, Permission perm) voidClientState.ensureTablePermission(TableMetadataRef tableRef, Permission perm) voidClientState.ensureTablePermission(TableMetadata table, Permission perm) booleanClientState.hasTablePermission(TableMetadata table, Permission perm)