public class FirstApplicablePolicyAlg extends PolicyCombiningAlgorithm
Modifier and Type | Field and Description |
---|---|
static String |
algId
The standard URN used to identify this algorithm
|
Constructor and Description |
---|
FirstApplicablePolicyAlg()
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
AbstractResult |
combine(EvaluationCtx context,
List parameters,
List policyElements)
Applies the combining rule to the set of policies based on the evaluation context.
|
getIdentifier
public static final String algId
public AbstractResult combine(EvaluationCtx context, List parameters, List policyElements)
combine
in class PolicyCombiningAlgorithm
context
- the context from the requestparameters
- a (possibly empty) non-null List
of
CombinerParameters
policyElements
- the policies to combineCopyright © 2021 WSO2. All rights reserved.