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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
algId
public static final java.lang.String algId
- The standard URN used to identify this algorithm
- See Also:
- Constant Field Values
identifierURI
private static java.net.URI identifierURI
earlyException
private static java.lang.RuntimeException earlyException
FirstApplicablePolicyAlg
public FirstApplicablePolicyAlg()
- Standard constructor.
combine
public com.sun.xacml.ctx.Result combine(com.sun.xacml.EvaluationCtx context,
java.util.List policies)
- Applies the combining rule to the set of policies based on the
evaluation context.
- Specified by:
combine
in class PolicyCombiningAlgorithm