Class RoleManagementStatement
java.lang.Object
org.apache.cassandra.cql3.CQLStatement.Raw
org.apache.cassandra.cql3.statements.AuthenticationStatement
org.apache.cassandra.cql3.statements.RoleManagementStatement
- All Implemented Interfaces:
CQLStatement
- Direct Known Subclasses:
GrantRoleStatement,RevokeRoleStatement
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.CQLStatement
CQLStatement.Raw, CQLStatement.SingleKeyspaceCqlStatement -
Field Summary
FieldsFields inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
bindVariables -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidauthorize(ClientState state) Perform any access verification necessary for the statement.toString()voidvalidate(ClientState state) Perform additional validation required by the statment.Methods inherited from class org.apache.cassandra.cql3.statements.AuthenticationStatement
checkPermission, execute, execute, executeLocally, obfuscatePassword, prepareMethods inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
setBindVariablesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.cql3.CQLStatement
getAuditLogContext, getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditions
-
Field Details
-
role
-
grantee
-
-
Constructor Details
-
RoleManagementStatement
-
-
Method Details
-
authorize
Description copied from interface:CQLStatementPerform any access verification necessary for the statement.- Parameters:
state- the current client state- Throws:
UnauthorizedException
-
validate
Description copied from interface:CQLStatementPerform additional validation required by the statment. To be overriden by subclasses if needed.- Parameters:
state- the current client state- Throws:
RequestValidationException
-
toString
-