SunTM's XACML Implementation for JavaTM

com.sun.xacml.combine
Class RuleCombiningAlgorithm

java.lang.Object
  extended bycom.sun.xacml.combine.CombiningAlgorithm
      extended bycom.sun.xacml.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

Constructor Summary
RuleCombiningAlgorithm(URI identifier)
          Constructor that takes the algorithm's identifier.
 
Method Summary
abstract  Result combine(EvaluationCtx context, List rules)
          Combines the rules based on the context to produce some unified result.
 
Methods inherited from class com.sun.xacml.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 rules)
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
rules - the rules to combine
Returns:
a single unified result based on the combining logic

Sun's XACML Implementation Version 1.2

Copyright 2003-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

Sun, Sun Microsystems, the Sun Logo, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.