org.wso2.balana.combine.xacml2
Class OnlyOneApplicablePolicyAlg
java.lang.Object
org.wso2.balana.combine.CombiningAlgorithm
org.wso2.balana.combine.PolicyCombiningAlgorithm
org.wso2.balana.combine.xacml2.OnlyOneApplicablePolicyAlg
public class OnlyOneApplicablePolicyAlg
- extends PolicyCombiningAlgorithm
This is the standard Only One Applicable Policy combining algorithm. This is a special algorithm
used at the root of a policy/pdp to make sure that pdp only selects one policy per request.
- Since:
- 1.0
- Author:
- Seth Proctor
Field Summary |
static String |
algId
The standard URN used to identify this algorithm |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
algId
public static final String algId
- The standard URN used to identify this algorithm
- See Also:
- Constant Field Values
OnlyOneApplicablePolicyAlg
public OnlyOneApplicablePolicyAlg()
- Standard constructor.
combine
public AbstractResult combine(EvaluationCtx context,
List parameters,
List policyElements)
- Applies the combining rule to the set of policies based on the evaluation context.
- Specified by:
combine
in class PolicyCombiningAlgorithm
- Parameters:
context
- the context from the requestparameters
- a (possibly empty) non-null List
of
CombinerParameterspolicyElements
- the policies to combine
- Returns:
- the result of running the combining algorithm
Copyright © 2015 WSO2. All rights reserved.