Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.xacml.combine
Class FirstApplicablePolicyAlg  view FirstApplicablePolicyAlg download FirstApplicablePolicyAlg.java

java.lang.Object
  extended bycom.sun.xacml.combine.CombiningAlgorithm
      extended bycom.sun.xacml.combine.PolicyCombiningAlgorithm
          extended bycom.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 java.lang.String algId
          The standard URN used to identify this algorithm
private static java.lang.RuntimeException earlyException
           
private static java.net.URI identifierURI
           
 
Fields inherited from class com.sun.xacml.combine.CombiningAlgorithm
 
Constructor Summary
FirstApplicablePolicyAlg()
          Standard constructor.
 
Method Summary
 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.
 
Methods inherited from class com.sun.xacml.combine.CombiningAlgorithm
getIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

FirstApplicablePolicyAlg

public FirstApplicablePolicyAlg()
Standard constructor.

Method Detail

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