Package org.apache.cassandra.auth
Class Role
- java.lang.Object
-
- org.apache.cassandra.auth.Role
-
public class Role extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Role(java.lang.String name, boolean isSuperUser, boolean canLogin, java.util.Map<java.lang.String,java.lang.String> options, java.util.Set<java.lang.String> memberOf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
-
-
-
Field Detail
-
resource
public final RoleResource resource
Represents a user or group in the auth subsystem. Roles may be members of other roles, but circular graphs of roles are not permitted. The reason that memberOf is aSet<String>
and notSet<Role>
is to simplify loading for IRoleManager implementations (in particular, CassandraRoleManager)
-
isSuper
public final boolean isSuper
-
canLogin
public final boolean canLogin
-
memberOf
public final java.util.Set<java.lang.String> memberOf
-
options
public final java.util.Map<java.lang.String,java.lang.String> options
-
-