Uses of Class org.apache.cassandra.auth.Permission (apache-cassandra API)
Date: 2014-10-21

## Uses of Class
org.apache.cassandra.auth.Permission

- Packages that use Permission
  Package | Description
  --- | ---
  org.apache.cassandra.auth |
  org.apache.cassandra.cql3.statements |
  org.apache.cassandra.service |

- - ### Uses of Permission in org.apache.cassandra.auth

    Fields in org.apache.cassandra.auth declared as Permission
    Modifier and Type | Field and Description
    --- | ---
    `Permission` | PermissionDetails.`permission`

    Fields in org.apache.cassandra.auth with type parameters of type Permission
    Modifier and Type | Field and Description
    --- | ---
    `static java.util.Set<Permission>` | Permission.`ALL`
    `static java.util.Set<Permission>` | Permission.`ALL_DATA`
    `static java.util.Set<Permission>` | Permission.`NONE`
    `static com.google.common.cache.LoadingCache<Pair<AuthenticatedUser,IResource>,java.util.Set<Permission>>` | Auth.`permissionsCache`

    Methods in org.apache.cassandra.auth that return Permission
    Modifier and Type | Method and Description
    --- | ---
    `static Permission` | Permission.`valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static Permission[]` | Permission.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.apache.cassandra.auth that return types with arguments of type Permission
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<Permission>` | AllowAllAuthorizer.`authorize(AuthenticatedUser user, IResource resource)`
    `java.util.Set<Permission>` | CassandraAuthorizer.`authorize(AuthenticatedUser user, IResource resource)`
    `java.util.Set<Permission>` | IAuthorizer.`authorize(AuthenticatedUser user, IResource resource)` The primary IAuthorizer method.
    `java.util.Set<Permission>` | LegacyAuthorizer.`authorize(AuthenticatedUser user, IResource resource)` Translates new-style authorize() method call to the old-style (including permissions and the hierarchy).
    `abstract java.util.EnumSet<Permission>` | LegacyAuthorizer.`authorize(AuthenticatedUser user, java.util.List<java.lang.Object> resource)`

    Method parameters in org.apache.cassandra.auth with type arguments of type Permission
    Modifier and Type | Method and Description
    --- | ---
    `void` | AllowAllAuthorizer.`grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String to)`
    `void` | CassandraAuthorizer.`grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String to)`
    `void` | IAuthorizer.`grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String to)` Grants a set of permissions on a resource to a user.
    `void` | LegacyAuthorizer.`grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String to)`
    `java.util.Set<PermissionDetails>` | AllowAllAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String of)`
    `java.util.Set<PermissionDetails>` | CassandraAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String of)`
    `java.util.Set<PermissionDetails>` | IAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String of)` Returns a list of permissions on a resource of a user.
    `java.util.Set<PermissionDetails>` | LegacyAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String of)`
    `void` | AllowAllAuthorizer.`revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String from)`
    `void` | CassandraAuthorizer.`revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String from)`
    `void` | IAuthorizer.`revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String from)` Revokes a set of permissions on a resource from a user.
    `void` | LegacyAuthorizer.`revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String from)`

    Constructors in org.apache.cassandra.auth with parameters of type Permission
    Constructor and Description
    `PermissionDetails(java.lang.String username, 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 Permission
    Modifier and Type | Field and Description
    --- | ---
    `protected java.util.Set<Permission>` | PermissionAlteringStatement.`permissions`

    Constructor parameters in org.apache.cassandra.cql3.statements with type arguments of type Permission
    Constructor and Description
    `GrantStatement(java.util.Set<Permission> permissions, IResource resource, java.lang.String username)`
    `ListPermissionsStatement(java.util.Set<Permission> permissions, IResource resource, java.lang.String username, boolean recursive)`
    `PermissionAlteringStatement(java.util.Set<Permission> permissions, IResource resource, java.lang.String username)`
    `RevokeStatement(java.util.Set<Permission> permissions, IResource resource, java.lang.String username)`

  - ### Uses of Permission in org.apache.cassandra.service

    Methods in org.apache.cassandra.service with parameters of type Permission
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientState.`ensureHasPermission(Permission perm, IResource resource)`
    `void` | ClientState.`hasAllKeyspacesAccess(Permission perm)`
    `void` | ClientState.`hasColumnFamilyAccess(java.lang.String keyspace, java.lang.String columnFamily, Permission perm)`
    `void` | ClientState.`hasKeyspaceAccess(java.lang.String keyspace, Permission perm)`

Copyright © 2014 The Apache Software Foundation