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

Quick Search    Search Deep

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

java.lang.Object
  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.

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
OnlyOneApplicablePolicyAlg()
          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

OnlyOneApplicablePolicyAlg

public OnlyOneApplicablePolicyAlg()
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