SunTM's XACML Implementation for JavaTM

com.sun.xacml.combine
Class CombiningAlgorithm

java.lang.Object
  extended bycom.sun.xacml.combine.CombiningAlgorithm
Direct Known Subclasses:
PolicyCombiningAlgorithm, RuleCombiningAlgorithm

public abstract class CombiningAlgorithm
extends Object

The base type for all combining algorithms. It provides one method that must be implemented.

Since:
1.0

Constructor Summary
CombiningAlgorithm(URI identifier)
          Constructor that takes the algorithm's identifier.
 
Method Summary
abstract  Result combine(EvaluationCtx context, List inputs)
          Combines the inputs based on the context to produce some unified result.
 URI getIdentifier()
          Returns the identifier for this algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombiningAlgorithm

public CombiningAlgorithm(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 inputs)
Combines the inputs based on the context to produce some unified result. This is the one function of a combining algorithm.

Parameters:
context - the representation of the request
inputs - the things to combine (policies or rules)
Returns:
a single unified result based on the combining logic

getIdentifier

public URI getIdentifier()
Returns the identifier for this algorithm.

Returns:
the algorithm's identifier

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.