java.lang.Object
com.sun.xacml.combine.CombiningAlgorithm
com.sun.xacml.combine.PolicyCombiningAlgorithm
com.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
PermitOverridesPolicyAlg
public PermitOverridesPolicyAlg()
- Standard constructor.
PermitOverridesPolicyAlg
protected PermitOverridesPolicyAlg(java.net.URI identifier)
- Protected constructor used by the ordered version of this algorithm.
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