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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.sun.xacml.combine.CombiningAlgorithm
      extended bycom.sun.xacml.combine.PolicyCombiningAlgorithm
          extended bycom.sun.xacml.combine.PermitOverridesPolicyAlg
Direct Known Subclasses:
OrderedPermitOverridesPolicyAlg

public class PermitOverridesPolicyAlg
extends PolicyCombiningAlgorithm

This is the standard Permit Overrides policy combining algorithm. It allows a single evaluation of Permit to take precedence over any number of deny, not applicable or indeterminate results. Note that since this implementation does an ordered evaluation, this class also supports the Ordered Permit Overrides algorithm.

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
  PermitOverridesPolicyAlg()
          Standard constructor.
protected PermitOverridesPolicyAlg(java.net.URI identifier)
          Protected constructor used by the ordered version of this algorithm.
 
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

PermitOverridesPolicyAlg

public PermitOverridesPolicyAlg()
Standard constructor.


PermitOverridesPolicyAlg

protected PermitOverridesPolicyAlg(java.net.URI identifier)
Protected constructor used by the ordered version of this algorithm.

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