Package org.apache.cassandra.auth
Class DCPermissions
java.lang.Object
org.apache.cassandra.auth.DCPermissions
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DCPermissionsall()static DCPermissions.Builderbuilder()abstract booleanreturns true if the user can access the given dcstatic DCPermissionsnone()abstract booleanIndicates whether the permissions object explicitly allow access to some dcs (true) or if it implicitly allows access to all dcs (false)static DCPermissionsstatic DCPermissionsabstract voidvalidate()
-
Constructor Details
-
DCPermissions
public DCPermissions()
-
-
Method Details
-
canAccess
returns true if the user can access the given dc -
restrictsAccess
public abstract boolean restrictsAccess()Indicates whether the permissions object explicitly allow access to some dcs (true) or if it implicitly allows access to all dcs (false) -
allowedDCs
-
validate
public abstract void validate() -
all
-
none
-
subset
-
subset
-
builder
-