public interface EditableAccessDecisionVoterContext extends AccessDecisionVoterContext
AccessDecisionVoterContext
implementationModifier and Type | Method and Description |
---|---|
void |
addMetaData(String key,
Object metaData)
Allows to add custom meta-data.
|
void |
addViolation(SecurityViolation securityViolation)
Adds a new
SecurityViolation to the context |
void |
setState(AccessDecisionState accessDecisionVoterState)
Updates the state of the context
|
getMetaData, getMetaDataFor, getState, getViolations
void addMetaData(String key, Object metaData)
key
- key for the meta-datametaData
- meta-data which should be addedvoid setState(AccessDecisionState accessDecisionVoterState)
accessDecisionVoterState
- current statevoid addViolation(SecurityViolation securityViolation)
SecurityViolation
to the contextsecurityViolation
- security-violation which should be addedCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.