org.jboss.security.xacml.sunxacml.combine
Class FirstApplicableRuleAlg
java.lang.Object
org.jboss.security.xacml.sunxacml.combine.CombiningAlgorithm
org.jboss.security.xacml.sunxacml.combine.RuleCombiningAlgorithm
org.jboss.security.xacml.sunxacml.combine.FirstApplicableRuleAlg
public class FirstApplicableRuleAlg
- extends RuleCombiningAlgorithm
This is the standard First Applicable rule combining algorithm. It looks
through the set of rules, finds the first one that applies, and returns
that evaluation result.
- 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
FirstApplicableRuleAlg
public FirstApplicableRuleAlg()
- Standard constructor.
combine
public Result combine(EvaluationCtx context,
List parameters,
List ruleElements)
- Applies the combining rule to the set of rules based on the
evaluation context.
- Specified by:
combine
in class RuleCombiningAlgorithm
- Parameters:
context
- the context from the requestparameters
- a (possibly empty) non-null List
of
CombinerParametersruleElements
- the rules to combine
- Returns:
- the result of running the combining algorithm
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.