Package org.forgerock.openig.openam
Class PolicyDecisionContext
- java.lang.Object
- 
- org.forgerock.services.context.AbstractContext
- 
- org.forgerock.openig.openam.PolicyDecisionContext
 
 
- 
- All Implemented Interfaces:
- Context
 
 public class PolicyDecisionContext extends AbstractContext APolicyDecisionContextconvey policy decision information to downstream filters and handlers.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringNAMEContext's name.- 
Fields inherited from class org.forgerock.services.context.AbstractContextdata
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Boolean>getActions()Returns the unmodifiable map of actions provided in the policy decision (can be empty, but nevernull).Map<String,List<String>>getAdvices()Returns the unmodifiable map of advices provided in the policy decision (can be empty, but nevernull).Map<String,List<String>>getAttributes()Returns the unmodifiable map of attributes provided in the policy decision (can be empty, but nevernull).JsonValuegetJsonActions()Returns the unmodifiable actions entry in the policy decision (nevernull).JsonValuegetJsonAdvices()Returns the unmodifiable advices entry in the policy decision (nevernull).JsonValuegetJsonAttributes()Returns the unmodifiable attributes entry in the policy decision (nevernull).StringgetResource()Returns the resource entry in the policy decision (nevernull).- 
Methods inherited from class org.forgerock.services.context.AbstractContextas, asContext, containsContext, containsContext, get, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
 
- 
 
- 
- 
- 
Field Detail- 
NAMEpublic static final String NAME Context's name.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getAttributespublic Map<String,List<String>> getAttributes() Returns the unmodifiable map of attributes provided in the policy decision (can be empty, but nevernull).- Returns:
- the map of attributes provided in the policy decision
 
 - 
getJsonAttributespublic JsonValue getJsonAttributes() Returns the unmodifiable attributes entry in the policy decision (nevernull).The returned JsonValue wraps a Map<String, List<String>>just like:{ "dn": [ "uid=bjensen,dc=example,dc=com" ], "emails": [ "bjensen@example.com", "jensen@acme.org" ] }- Returns:
- the unmodifiable attributes entry in the policy decision (never null).
 
 - 
getAdvicespublic Map<String,List<String>> getAdvices() Returns the unmodifiable map of advices provided in the policy decision (can be empty, but nevernull).- Returns:
- the map of advices provided in the policy decision
 
 - 
getJsonAdvicespublic JsonValue getJsonAdvices() Returns the unmodifiable advices entry in the policy decision (nevernull).The returned JsonValue wraps a Map<String, List<String>>just like:{ "AuthLevelConditionAdvice": [ "3" ] }- Returns:
- the unmodifiable advices entry in the policy decision (never null).
 
 - 
getActionspublic Map<String,Boolean> getActions() Returns the unmodifiable map of actions provided in the policy decision (can be empty, but nevernull).- Returns:
- the map of actions provided in the policy decision
 
 - 
getJsonActionspublic JsonValue getJsonActions() Returns the unmodifiable actions entry in the policy decision (nevernull).The returned JsonValue wraps a Map<String, Boolean>just like:{ "POST": true }- Returns:
- the unmodifiable actions entry in the policy decision (never null).
 
 - 
getResourcepublic String getResource() Returns the resource entry in the policy decision (nevernull).- Returns:
- the resource entry in the policy decision (never null).
 
 
- 
 
-