org.jboss.security.xacml.sunxacml.combine
Class RuleCombiningAlgorithm
java.lang.Object
org.jboss.security.xacml.sunxacml.combine.CombiningAlgorithm
org.jboss.security.xacml.sunxacml.combine.RuleCombiningAlgorithm
- Direct Known Subclasses:
- DenyOverridesRuleAlg, FirstApplicableRuleAlg, PermitOverridesRuleAlg
public abstract class RuleCombiningAlgorithm
- extends CombiningAlgorithm
The base type for all Rule combining algorithms.
- Since:
- 1.0
- Author:
- Seth Proctor, Marco Barreno
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleCombiningAlgorithm
public RuleCombiningAlgorithm(URI identifier)
- Constructor that takes the algorithm's identifier.
- Parameters:
identifier
- the algorithm's identifier
combine
public abstract Result combine(EvaluationCtx context,
List parameters,
List ruleElements)
- 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 CombiningAlgorithm
- 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 © 2012 JBoss by Red Hat. All Rights Reserved.