Uses of Class org.apache.cassandra.auth.AuthenticatedUser (apache-cassandra API)
Date: 2018-02-14

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

- Packages that use AuthenticatedUser
  Package | Description
  --- | ---
  org.apache.cassandra.auth |
  org.apache.cassandra.service |

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

    Fields in org.apache.cassandra.auth declared as AuthenticatedUser
    Modifier and Type | Field and Description
    --- | ---
    `static AuthenticatedUser` | AuthenticatedUser.`ANONYMOUS_USER`
    `static AuthenticatedUser` | AuthenticatedUser.`SYSTEM_USER`

    Methods in org.apache.cassandra.auth that return AuthenticatedUser
    Modifier and Type | Method and Description
    --- | ---
    `AuthenticatedUser` | IAuthenticator.SaslNegotiator.`getAuthenticatedUser()` Following a sucessful negotiation, get the AuthenticatedUser representing the logged in subject.
    `AuthenticatedUser` | AllowAllAuthenticator.`legacyAuthenticate(java.util.Map<java.lang.String,java.lang.String> credentialsData)`
    `AuthenticatedUser` | IAuthenticator.`legacyAuthenticate(java.util.Map<java.lang.String,java.lang.String> credentials)` For implementations which support the Thrift login method that accepts arbitrary key/value pairs containing credentials data.
    `AuthenticatedUser` | PasswordAuthenticator.`legacyAuthenticate(java.util.Map<java.lang.String,java.lang.String> credentials)`

    Methods in org.apache.cassandra.auth with parameters of type AuthenticatedUser
    Modifier and Type | Method and Description
    --- | ---
    `void` | CassandraRoleManager.`alterRole(AuthenticatedUser performer, RoleResource role, RoleOptions options)`
    `void` | IRoleManager.`alterRole(AuthenticatedUser performer, RoleResource role, RoleOptions options)` Called during execution of ALTER ROLE statement.
    `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.
    `void` | CassandraRoleManager.`createRole(AuthenticatedUser performer, RoleResource role, RoleOptions options)`
    `void` | IRoleManager.`createRole(AuthenticatedUser performer, RoleResource role, RoleOptions options)` Called during execution of a CREATE ROLE statement.
    `void` | CassandraRoleManager.`dropRole(AuthenticatedUser performer, RoleResource role)`
    `void` | IRoleManager.`dropRole(AuthenticatedUser performer, RoleResource role)` Called during execution of DROP ROLE statement, as well we removing any main record of the role from the system this implies that we want to revoke this role from all other roles that it has been granted to.
    `java.util.Set<Permission>` | PermissionsCache.`getPermissions(AuthenticatedUser user, 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.
    `void` | CassandraRoleManager.`grantRole(AuthenticatedUser performer, RoleResource role, RoleResource grantee)`
    `void` | IRoleManager.`grantRole(AuthenticatedUser performer, RoleResource role, RoleResource grantee)` Called during execution of GRANT ROLE query.
    `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` | CassandraRoleManager.`revokeRole(AuthenticatedUser performer, RoleResource role, RoleResource revokee)`
    `void` | IRoleManager.`revokeRole(AuthenticatedUser performer, RoleResource role, RoleResource revokee)` Called during the execution of a REVOKE ROLE query.

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

    Methods in org.apache.cassandra.service that return AuthenticatedUser
    Modifier and Type | Method and Description
    --- | ---
    `AuthenticatedUser` | ClientState.`getUser()`

    Methods in org.apache.cassandra.service with parameters of type AuthenticatedUser
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientState.`login(AuthenticatedUser user)` Attempts to login the given user.

Copyright © 2018 The Apache Software Foundation