public final class TreePolicyRequest extends PolicyRequest
Modifier and Type | Method and Description |
---|---|
List<Entitlement> |
dispatch(PolicyEvaluator evaluator)
Given the policy evaluator dispatch oneself as one knows best.
|
String |
getResource() |
static TreePolicyRequest |
getTreePolicyRequest(org.forgerock.services.context.Context context,
org.forgerock.json.resource.ActionRequest request,
SSOTokenManager tokenManager)
Gets a tree policy request based on the context and action request.
|
getApplication, getEnvironment, getPolicySubject, getRealm, getRestSubject
public String getResource()
public List<Entitlement> dispatch(PolicyEvaluator evaluator) throws EntitlementException
PolicyRequest
dispatch
in class PolicyRequest
evaluator
- the non-null policy evaluatorEntitlementException
- should dispatch and evaluation failpublic static TreePolicyRequest getTreePolicyRequest(org.forgerock.services.context.Context context, org.forgerock.json.resource.ActionRequest request, SSOTokenManager tokenManager) throws EntitlementException
context
- the contextrequest
- the requesttokenManager
- An SSOTokenManager instance.EntitlementException
- should creating a tree policy request failCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.