JBoss port of sunxacml 2.0.5

org.jboss.security.xacml.sunxacml.combine
Class RuleCombiningAlgorithm

java.lang.Object
  extended by org.jboss.security.xacml.sunxacml.combine.CombiningAlgorithm
      extended by 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

Field Summary
 
Fields inherited from class org.jboss.security.xacml.sunxacml.combine.CombiningAlgorithm
logger
 
Constructor Summary
RuleCombiningAlgorithm(URI identifier)
          Constructor that takes the algorithm's identifier.
 
Method Summary
abstract  Result combine(EvaluationCtx context, List parameters, List ruleElements)
          Combines the rules based on the context to produce some unified result.
 
Methods inherited from class org.jboss.security.xacml.sunxacml.combine.CombiningAlgorithm
getIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleCombiningAlgorithm

public RuleCombiningAlgorithm(URI identifier)
Constructor that takes the algorithm's identifier.

Parameters:
identifier - the algorithm's identifier
Method Detail

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 request
parameters - a (possibly empty) non-null List of CombinerParameters
ruleElements - a List of CombinerElements
Returns:
a single unified result based on the combining logic

JBoss port of sunxacml 2.0.5

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.