public class PolicyDecisionContext extends AbstractContext
PolicyDecisionContext
convey policy decision information to downstream filters and handlers.Modifier and Type | Field and Description |
---|---|
static String |
NAME
Context's name.
|
data
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getAdvices()
Returns the unmodifiable map of advices provided in the policy decision (can be empty, but
never
null ). |
Map<String,List<String>> |
getAttributes()
Returns the unmodifiable map of attributes provided in the policy decision (can be empty, but
never
null ). |
JsonValue |
getJsonAdvices()
Returns the unmodifiable advices entry in the policy decision (never
null ). |
JsonValue |
getJsonAttributes()
Returns the unmodifiable attributes entry in the policy decision (never
null ). |
asContext, containsContext, containsContext, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
public static final String NAME
public Map<String,List<String>> getAttributes()
null
).public JsonValue getJsonAttributes()
null
).
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" ]
}
null
).public Map<String,List<String>> getAdvices()
null
).public JsonValue getJsonAdvices()
null
).
The returned JsonValue wraps a Map<String, List<String>>
just like:
{
"AuthLevelConditionAdvice": [ "3" ]
}
null
).Copyright 2011-2017 ForgeRock AS.