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 |
setSource(Object source)
TODO review it (this method is new)
|
void |
setState(AccessDecisionState accessDecisionVoterState)
Updates the state of the context
|
getMetaData, getMetaDataFor, getSource, 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 setSource(Object source)
source
- e.g. the invocation-contextvoid addViolation(SecurityViolation securityViolation)
SecurityViolation
to the contextsecurityViolation
- security-violation which should be addedCopyright © 2020 The Apache Software Foundation. All rights reserved.