public abstract class RoleManagementStatement extends AuthenticationStatement
ParsedStatement.Prepared| Modifier and Type | Field and Description |
|---|---|
protected RoleResource |
grantee |
protected RoleResource |
role |
| Constructor and Description |
|---|
RoleManagementStatement(RoleName name,
RoleName grantee) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAccess(ClientState state)
Perform any access verification necessary for the statement.
|
void |
validate(ClientState state)
Perform additional validation required by the statment.
|
checkPermission, execute, execute, executeInternal, getBoundTerms, preparegetBoundVariables, getFunctions, setBoundVariables, setBoundVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFunctionsprotected final RoleResource role
protected final RoleResource grantee
public void checkAccess(ClientState state) throws UnauthorizedException
CQLStatementstate - the current client stateUnauthorizedExceptionpublic void validate(ClientState state) throws RequestValidationException
CQLStatementstate - the current client stateRequestValidationExceptionCopyright © 2018 The Apache Software Foundation