org.jboss.security.xacml.sunxacml.combine
Class PermitOverridesPolicyAlg
java.lang.Object
org.jboss.security.xacml.sunxacml.combine.CombiningAlgorithm
org.jboss.security.xacml.sunxacml.combine.PolicyCombiningAlgorithm
org.jboss.security.xacml.sunxacml.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
- Author:
- Seth Proctor
Field Summary |
static String |
algId
The standard URN used to identify this algorithm |
Method Summary |
Result |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
algId
public static final String algId
- The standard URN used to identify this algorithm
- See Also:
- Constant Field Values
PermitOverridesPolicyAlg
public PermitOverridesPolicyAlg()
- Standard constructor.
PermitOverridesPolicyAlg
protected PermitOverridesPolicyAlg(URI identifier)
- Protected constructor used by the ordered version of this algorithm.
- Parameters:
identifier
- the algorithm's identifier
combine
public Result 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 requestparameters
- a (possibly empty) non-null List
of
CombinerParameterspolicyElements
- the policies to combine
- Returns:
- the result of running the combining algorithm
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.