org.jboss.security.xacml.sunxacml.combine
Class CombiningAlgorithm
java.lang.Object
org.jboss.security.xacml.sunxacml.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
- Author:
- Seth Proctor
Constructor Summary |
CombiningAlgorithm(URI identifier)
Constructor that takes the algorithm's identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final Logger logger
CombiningAlgorithm
public CombiningAlgorithm(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 inputs)
- Combines the results of 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 requestparameters
- a (possibly empty) non-null List
of
CombinerParameters provided for general
use (for all pre-2.0 policies this must be empty)inputs
- a List
of CombinerElements
s to
evaluate and combine
- 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
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.