public abstract class AbstractMatchFunctor extends Object implements MatchFunctor
MatchFunctor
s that delegate the evaluation and negate the result if necessary.
This class provides an extension point for functionality across all match functors.Constructor and Description |
---|
AbstractMatchFunctor() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext)
Evaluates this matching criteria.
|
protected abstract boolean |
doEvaluateValue(ShibbolethFilteringContext filterContext,
String attributeId,
Object attributeValue)
Evaluates this matching criteria.
|
boolean |
evaluateDenyRule(ShibbolethFilteringContext filterContext,
String attributeId,
Object attributeValue)
Evaluates this matching criteria.
|
boolean |
evaluatePermitValue(ShibbolethFilteringContext filterContext,
String attributeId,
Object attributeValue)
Evaluates this matching criteria.
|
boolean |
evaluatePolicyRequirement(ShibbolethFilteringContext filterContext)
Evaluates this matching criteria.
|
public boolean evaluatePolicyRequirement(ShibbolethFilteringContext filterContext) throws FilterProcessingException
evaluatePolicyRequirement
in interface MatchFunctor
filterContext
- current filtering contextFilterProcessingException
- thrown if the function can not be evaluatedpublic boolean evaluatePermitValue(ShibbolethFilteringContext filterContext, String attributeId, Object attributeValue) throws FilterProcessingException
evaluatePermitValue
in interface MatchFunctor
filterContext
- the current filtering contextattributeId
- ID of the attribute being evaluatedattributeValue
- value of the attribute being evaluatedFilterProcessingException
- thrown if the function can not be evaluatedpublic boolean evaluateDenyRule(ShibbolethFilteringContext filterContext, String attributeId, Object attributeValue) throws FilterProcessingException
evaluateDenyRule
in interface MatchFunctor
filterContext
- the current filtering contextattributeId
- ID of the attribute being evaluatedattributeValue
- value of the attribute being evaluatedFilterProcessingException
- thrown if the function can not be evaluatedprotected abstract boolean doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext) throws FilterProcessingException
filterContext
- current filtering contextFilterProcessingException
- thrown if the function can not be evaluatedprotected abstract boolean doEvaluateValue(ShibbolethFilteringContext filterContext, String attributeId, Object attributeValue) throws FilterProcessingException
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.