org.wso2.balana.combine.xacml3
Class DenyOverridesPolicyAlg

java.lang.Object
  extended by org.wso2.balana.combine.CombiningAlgorithm
      extended by org.wso2.balana.combine.PolicyCombiningAlgorithm
          extended by org.wso2.balana.combine.xacml3.DenyOverridesPolicyAlg
Direct Known Subclasses:
OrderedDenyOverridesPolicyAlg

public class DenyOverridesPolicyAlg
extends PolicyCombiningAlgorithm

This is the new (XACML 3.0) the standard Deny Overrides policy combining algorithm. It allows a single evaluation of Deny to take precedence over any number of permit, not applicable or indeterminate results. Notethat since this implementation does an ordered evaluation, this class also supports the Ordered Deny Overrides algorithm.


Field Summary
static String algId
          The standard URN used to identify this algorithm
 
Constructor Summary
  DenyOverridesPolicyAlg()
          Standard constructor.
protected DenyOverridesPolicyAlg(URI identifier)
          Protected constructor used by the ordered version of this algorithm.
 
Method Summary
 AbstractResult combine(EvaluationCtx context, List parameters, List policyElements)
          Applies the combining rule to the set of policies based on the evaluation context.
 
Methods inherited from class org.wso2.balana.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 String algId
The standard URN used to identify this algorithm

See Also:
Constant Field Values
Constructor Detail

DenyOverridesPolicyAlg

public DenyOverridesPolicyAlg()
Standard constructor.


DenyOverridesPolicyAlg

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

Parameters:
identifier - the algorithm's identifier
Method Detail

combine

public AbstractResult combine(EvaluationCtx context,
                              List parameters,
                              List policyElements)
Applies the combining rule to the set of policies based on the evaluation context.

Specified by:
combine in class PolicyCombiningAlgorithm
Parameters:
context - the context from the request
parameters - a (possibly empty) non-null List of CombinerParameters
policyElements - the policies to combine
Returns:
the result of running the combining algorithm


Copyright © 2015 WSO2. All rights reserved.