com.sun.xacml.combine
Class FirstApplicablePolicyAlg
java.lang.Object
  
com.sun.xacml.combine.CombiningAlgorithm
      
com.sun.xacml.combine.PolicyCombiningAlgorithm
          
com.sun.xacml.combine.FirstApplicablePolicyAlg
- public class FirstApplicablePolicyAlg
- extends PolicyCombiningAlgorithm
  
This is the standard First Applicable policy combining algorithm. It looks
 through the set of policies, finds the first one that applies, and returns
 that evaluation result.
- Since:
 
  - 1.0
 
| 
Field Summary | 
static String | 
algId
 
          The standard URN used to identify this algorithm | 
 
 
| 
Method Summary | 
 Result | 
combine(EvaluationCtx context,
        List policies)
 
          Applies the combining rule to the set of policies based on the
 evaluation context. | 
 
 
| 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
 
 
FirstApplicablePolicyAlg
public FirstApplicablePolicyAlg()
- Standard constructor.
 
combine
public Result combine(EvaluationCtx context,
                      List policies)
- Applies the combining rule to the set of policies based on the
 evaluation context.
- Specified by:
 combine in class PolicyCombiningAlgorithm
 
- Parameters:
 context - the context from the requestpolicies - the policies to combine
- Returns:
 - the result of running the combining algorithm
 
 
 
        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.