Package | Description |
---|---|
org.apache.cassandra.auth |
Modifier and Type | Method and Description |
---|---|
static Role |
Roles.fromRoleResource(RoleResource resource,
IRoleManager roleManager)
Constructs a Role object from a RoleResource, using the methods of the supplied IRoleManager.
|
static Role |
Roles.nullRole()
Return the NullObject Role instance which can be safely used to indicate no information is available
when querying for a specific named role.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Role> |
AuthenticatedUser.getRoleDetails()
Get the detailed info on roles granted to the user via IRoleManager
|
java.util.Set<Role> |
CassandraRoleManager.getRoleDetails(RoleResource grantee) |
default java.util.Set<Role> |
IRoleManager.getRoleDetails(RoleResource grantee)
Used to retrieve detailed role info on the full set of roles granted to a grantee.
|
static java.util.Set<Role> |
Roles.getRoleDetails(RoleResource primaryRole)
Get detailed info on all the roles granted to the role identified by the supplied RoleResource.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Roles.isNullRole(Role role)
Just a convenience method which compares a role instance with the null object version, indicating if the
return from some query/lookup method was a valid Role or indicates that the role does not exist.
|
Copyright © 2009-2020 The Apache Software Foundation