public abstract class PolicyCombiningAlgorithm extends CombiningAlgorithm
Result that doesn't match the effect being returned. So, if INDETERMINATE or
NOT_APPLICABLE is the returned effect, no obligations may be included in the result. If the
effect of the combining algorithm is PERMIT or DENY, then obligations with a matching fulfillOn
effect are also included in the result.| Constructor and Description |
|---|
PolicyCombiningAlgorithm(URI identifier)
Constructor that takes the algorithm's identifier.
|
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractResult |
combine(EvaluationCtx context,
List parameters,
List policyElements)
Combines the policies based on the context to produce some unified result.
|
getIdentifierpublic PolicyCombiningAlgorithm(URI identifier)
identifier - the algorithm's identifierpublic abstract AbstractResult combine(EvaluationCtx context, List parameters, List policyElements)
Note that unlike in the RuleCombiningAlgorithms, here you must explicitly match the sub-policies to make sure that you should consider them, and you must handle Obligations.
combine in class CombiningAlgorithmcontext - the representation of the requestparameters - a (possibly empty) non-null List of
CombinerParameterspolicyElements - a List of CombinerElementsCopyright © 2019 WSO2. All rights reserved.