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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.sun.xacml.combine.CombiningAlgorithm
      extended bycom.sun.xacml.combine.RuleCombiningAlgorithm
          extended bycom.sun.xacml.combine.DenyOverridesRuleAlg
Direct Known Subclasses:
OrderedDenyOverridesRuleAlg

public class DenyOverridesRuleAlg
extends RuleCombiningAlgorithm

This is the standard Deny Overrides rule combining algorithm. It allows a single evaluation of Deny to take precedence over any number of permit, not applicable or indeterminate results. Note that since this implementation does an ordered evaluation, this class also supports the Ordered Deny 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
  DenyOverridesRuleAlg()
          Standard constructor.
protected DenyOverridesRuleAlg(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 rules)
          Applies the combining rule to the set of rules 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

DenyOverridesRuleAlg

public DenyOverridesRuleAlg()
Standard constructor.


DenyOverridesRuleAlg

protected DenyOverridesRuleAlg(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 rules)
Applies the combining rule to the set of rules based on the evaluation context.

Specified by:
combine in class RuleCombiningAlgorithm