public class PermitUnlessDenyPolicyAlg extends PolicyCombiningAlgorithm
| Modifier and Type | Field and Description |
|---|---|
static String |
algId
The standard URI used to identify this algorithm
|
| Constructor and Description |
|---|
PermitUnlessDenyPolicyAlg()
Standard constructor.
|
PermitUnlessDenyPolicyAlg(URI identifier)
Constructor that takes the algorithm's identifier.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractResult |
combine(EvaluationCtx context,
List parameters,
List policyElements)
Combines the policies based on the context to produce some unified result.
|
getIdentifierpublic static final String algId
public PermitUnlessDenyPolicyAlg()
public PermitUnlessDenyPolicyAlg(URI identifier)
identifier - the algorithm's identifierpublic AbstractResult combine(EvaluationCtx context, List parameters, List policyElements)
PolicyCombiningAlgorithmNote 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 PolicyCombiningAlgorithmcontext - the representation of the requestparameters - a (possibly empty) non-null List of
CombinerParameterspolicyElements - a List of CombinerElementsCopyright © 2019 WSO2. All rights reserved.