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, prepare
getBoundVariables, getFunctions, setBoundVariables, setBoundVariables
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFunctions
protected final RoleResource role
protected final RoleResource grantee
public void checkAccess(ClientState state) throws UnauthorizedException
CQLStatement
state
- the current client stateUnauthorizedException
public void validate(ClientState state) throws RequestValidationException
CQLStatement
state
- the current client stateRequestValidationException
Copyright © 2017 The Apache Software Foundation