SunTM's XACML Implementation for JavaTM

Class OnlyOneApplicablePolicyAlg

  extended bycom.sun.xacml.combine.CombiningAlgorithm
      extended bycom.sun.xacml.combine.PolicyCombiningAlgorithm
          extended bycom.sun.xacml.combine.OnlyOneApplicablePolicyAlg

public class OnlyOneApplicablePolicyAlg
extends PolicyCombiningAlgorithm

This is the standard Only One Applicable Policy combining algorithm. This is a special algorithm used at the root of a policy/pdp to make sure that pdp only selects one policy per request.


Field Summary
static String algId
          The standard URN used to identify this algorithm
Constructor Summary
          Standard constructor.
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 com.sun.xacml.combine.CombiningAlgorithm
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final String algId
The standard URN used to identify this algorithm

See Also:
Constant Field Values
Constructor Detail


public OnlyOneApplicablePolicyAlg()
Standard constructor.

Method Detail


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
context - the context from the request
policies - the policies to combine
the result of running the combining algorithm

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.