|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AccessDecisionVoterContext
Optional context which allows to get the current state as well as the results of the security check. (Optional because it requires a useful scope which depends on the environment.)
| Method Summary | ||
|---|---|---|
Map<String,Object> |
getMetaData()
Exposes the found meta-data |
|
|
getMetaDataFor(String key,
Class<T> targetType)
Exposes meta-data for the given key |
|
|
getSource()
TODO review it (this method is new) Exposes the source e.g. |
|
AccessDecisionState |
getState()
Exposes the current state |
|
List<SecurityViolation> |
getViolations()
Exposes the found violations |
|
| Method Detail |
|---|
AccessDecisionState getState()
List<SecurityViolation> getViolations()
<T> T getSource()
InvocationContext
Map<String,Object> getMetaData()
<T> T getMetaDataFor(String key,
Class<T> targetType)
T - target typekey - meta-data keytargetType - target type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||