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

Packages that use IResource
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
`class` `DataResource` The primary type of resource in Cassandra.
`class` `FunctionResource` IResource implementation representing functions.
`class` `RoleResource` IResource implementation representing database roles.

Fields in org.apache.cassandra.auth declared as IResource
`IResource` PermissionDetails.`resource`

Methods in org.apache.cassandra.auth that return IResource
`static IResource` Resources.`fromName(java.lang.String name)` Creates an IResource instance from its external name.
`IResource` DataResource.`getParent()`
`IResource` FunctionResource.`getParent()`
`IResource` IResource.`getParent()` Gets next resource in the hierarchy.
`IResource` RoleResource.`getParent()`

Methods in org.apache.cassandra.auth that return types with arguments of type IResource
`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>` CassandraRoleManager.`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<? extends IResource>` IRoleManager.`protectedResources()` Set of resources that should be made inaccessible to users and only accessible internally.

Methods in org.apache.cassandra.auth with parameters of type IResource
`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)` Returns a set of permissions of a user on a resource.
`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<Permission>` PermissionsCache.`getPermissions(AuthenticatedUser user, IResource resource)`
`java.util.Set<Permission>` AuthenticatedUser.`getPermissions(IResource resource)`
`void` AllowAllAuthorizer.`grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource to)`
`void` CassandraAuthorizer.`grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)`
`void` IAuthorizer.`grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)` Grants a set of permissions on a resource to a role.
`java.util.Set<PermissionDetails>` AllowAllAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource of)`
`java.util.Set<PermissionDetails>` CassandraAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)`
`java.util.Set<PermissionDetails>` IAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)` Returns a list of permissions on a resource granted to a role.
`void` AllowAllAuthorizer.`revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource from)`
`void` CassandraAuthorizer.`revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource revokee)`
`void` IAuthorizer.`revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource revokee)` Revokes a set of permissions on a resource from a user.
`void` AllowAllAuthorizer.`revokeAllOn(IResource droppedResource)`
`void` CassandraAuthorizer.`revokeAllOn(IResource droppedResource)`
`void` IAuthorizer.`revokeAllOn(IResource droppedResource)` This method is called after a resource is removed (i.e.

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

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

Fields in org.apache.cassandra.cql3.statements declared as IResource
`protected IResource` ListPermissionsStatement.`resource`
`protected IResource` PermissionsManagementStatement.`resource`

Methods in org.apache.cassandra.cql3.statements that return IResource
`static IResource` AuthorizationStatement.`maybeCorrectResource(IResource resource, ClientState state)`

Methods in org.apache.cassandra.cql3.statements with parameters of type IResource
`static IResource` AuthorizationStatement.`maybeCorrectResource(IResource resource, ClientState state)`

Constructors in org.apache.cassandra.cql3.statements with parameters of type IResource
Constructor and Description
`GrantPermissionsStatement(java.util.Set<Permission> permissions, IResource resource, RoleName grantee)`
`ListPermissionsStatement(java.util.Set<Permission> permissions, IResource resource, RoleName grantee, boolean recursive)`
`PermissionsManagementStatement(java.util.Set<Permission> permissions, IResource resource, RoleName grantee)`
`RevokePermissionsStatement(java.util.Set<Permission> permissions, IResource resource, RoleName grantee)`

### Uses of IResource in org.apache.cassandra.service

Methods in org.apache.cassandra.service with parameters of type IResource
`void` ClientState.`ensureHasPermission(Permission perm, IResource resource)`