public class DenyUnlessPermitPolicyAlg extends PolicyCombiningAlgorithm
| Modifier and Type | Field and Description |
|---|---|
static String |
algId
The standard URN used to identify this algorithm
|
| Constructor and Description |
|---|
DenyUnlessPermitPolicyAlg()
Standard constructor.
|
| 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 DenyUnlessPermitPolicyAlg()
public 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 © 2018 WSO2. All rights reserved.