public interface PolicyService
PolicyService
is a service that interacts with OpenAM's policy endpoint in order to obtain policy
decisions.
In effect, this is the backbone component of any Policy Enforcement Point (PEP).
It has to be transport agnostic (in terms of protected resources).
Modifier and Type | Method and Description |
---|---|
Promise<PolicyDecision,PolicyException> |
evaluate(Context context,
PolicyRequest request)
Evaluates a policy request for access to a set of resources given a subject.
|
Promise<PolicyDecision,PolicyException> evaluate(Context context, PolicyRequest request)
context
- The request context.request
- The policy request.Copyright 2011-2017 ForgeRock AS.