|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EditableAccessDecisionVoterContext
Interface which allows to provide a custom AccessDecisionVoterContext implementation
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.apache.deltaspike.security.api.authorization.AccessDecisionVoterContext |
|---|
getMetaData, getMetaDataFor, getSource, getState, getViolations |
| Method Detail |
|---|
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 context
securityViolation - security-violation which should be added
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||