public class OrMatchFunctor extends AbstractMatchFunctor
Constructor and Description |
---|
OrMatchFunctor(List<MatchFunctor> rules)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext)
Evaluates this matching criteria.
|
protected boolean |
doEvaluateValue(ShibbolethFilteringContext filterContext,
String attributeId,
Object attributeValue)
Evaluates this matching criteria.
|
List<MatchFunctor> |
getTargetRules()
Gets the functors whose results will be ORed.
|
evaluateDenyRule, evaluatePermitValue, evaluatePolicyRequirement
public OrMatchFunctor(List<MatchFunctor> rules)
rules
- rules to AND togetherpublic List<MatchFunctor> getTargetRules()
protected boolean doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext) throws FilterProcessingException
doEvaluatePolicyRequirement
in class AbstractMatchFunctor
filterContext
- current filtering contextFilterProcessingException
- thrown if the function can not be evaluatedprotected boolean doEvaluateValue(ShibbolethFilteringContext filterContext, String attributeId, Object attributeValue) throws FilterProcessingException
doEvaluateValue
in class AbstractMatchFunctor
filterContext
- the current filtering contextattributeId
- ID of the attribute being evaluatedattributeValue
- value of the attribute being evaluatedFilterProcessingException
- thrown if the function can not be evaluatedCopyright © 1999–2014. All rights reserved.