org.wso2.balana.combine.xacml3
Class DenyUnlessPermitRuleAlg
java.lang.Object
org.wso2.balana.combine.CombiningAlgorithm
org.wso2.balana.combine.RuleCombiningAlgorithm
org.wso2.balana.combine.xacml3.DenyUnlessPermitRuleAlg
public class DenyUnlessPermitRuleAlg
- extends RuleCombiningAlgorithm
This is the standard Deny unless permit rule combining algorithm. This algorithm is intended for
those cases where a permit decision should have priority over a deny decision,
and an "Indeterminate" or "NotApplicable" must never be the result.
It is particularly useful at the top level in a policy structure to ensure that a
PDP will always return a definite "Permit" or "Deny" result.
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
DenyUnlessPermitRuleAlg
public DenyUnlessPermitRuleAlg()
- Standard constructor.
DenyUnlessPermitRuleAlg
public DenyUnlessPermitRuleAlg(URI identifier)
- Constructor that takes the algorithm's identifier.
- Parameters:
identifier
- the algorithm's identifier
combine
public AbstractResult combine(EvaluationCtx context,
List parameters,
List ruleElements)
- Description copied from class:
RuleCombiningAlgorithm
- Combines the rules based on the context to produce some unified result. This is the one
function of a combining algorithm.
- Specified by:
combine
in class RuleCombiningAlgorithm
- Parameters:
context
- the representation of the requestparameters
- a (possibly empty) non-null List
of
CombinerParametersruleElements
- a List
of CombinerElements
- Returns:
- a single unified result based on the combining logic
Copyright © 2015 WSO2. All rights reserved.