## Uses of Interface
org.apache.cassandra.auth.IResource

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

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

    Classes in org.apache.cassandra.auth that implement IResource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DataResource` The primary type of resource in Cassandra.

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

    Methods in org.apache.cassandra.auth that return IResource
    Modifier and Type | Method and Description
    --- | ---
    `IResource` | DataResource.`getParent()`
    `IResource` | IResource.`getParent()` Gets next resource in the hierarchy.

    Methods in org.apache.cassandra.auth that return types with arguments of type IResource
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.List<? extends IResource>` | Resources.`chain(IResource resource)` Construct a chain of resource parents starting with the resource and ending with the root.
    `java.util.Set<IResource>` | AllowAllAuthenticator.`protectedResources()`
    `java.util.Set<IResource>` | AllowAllAuthorizer.`protectedResources()`
    `java.util.Set<? extends IResource>` | IAuthenticator.`protectedResources()` Set of resources that should be made inaccessible to users and only accessible internally.
    `java.util.Set<? extends IResource>` | IAuthorizer.`protectedResources()` Set of resources that should be made inaccessible to users and only accessible internally.
    `java.util.Set<IResource>` | LegacyAuthenticator.`protectedResources()`
    `java.util.Set<IResource>` | LegacyAuthorizer.`protectedResources()`

    Methods in org.apache.cassandra.auth with parameters of type IResource
    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).
    `static java.util.List<? extends IResource>` | Resources.`chain(IResource resource)` Construct a chain of resource parents starting with the resource and ending with the root.
    `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)`
    `void` | AllowAllAuthorizer.`revokeAll(IResource droppedResource)`
    `void` | CassandraAuthorizer.`revokeAll(IResource droppedResource)`
    `void` | IAuthorizer.`revokeAll(IResource droppedResource)` This method is called after a resource is removed (i.e.
    `void` | LegacyAuthorizer.`revokeAll(IResource droppedResource)`

    Constructors in org.apache.cassandra.auth with parameters of type IResource
    Constructor and Description
    `PermissionDetails(java.lang.String username, IResource resource, Permission permission)`

  - ### Uses of IResource in org.apache.cassandra.cql3.statements

    Constructors in org.apache.cassandra.cql3.statements with parameters of type IResource
    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 IResource in org.apache.cassandra.service

    Methods in org.apache.cassandra.service with parameters of type IResource
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientState.`ensureHasPermission(Permission perm, IResource resource)`

Copyright © 2014 The Apache Software Foundation