Uses of Class
org.apache.cassandra.auth.Role
-
Packages that use Role Package Description org.apache.cassandra.auth -
-
Uses of Role in org.apache.cassandra.auth
Methods in org.apache.cassandra.auth that return Role Modifier and Type Method 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.Methods in org.apache.cassandra.auth that return types with arguments of type Role Modifier and Type Method Description java.util.Set<Role>
AuthenticatedUser. getRoleDetails()
Get the detailed info on roles granted to the user via IRoleManagerjava.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.Methods in org.apache.cassandra.auth with parameters of type Role Modifier and Type Method 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.
-