public abstract class AbstractMatchFunctor extends Object implements MatchFunctor
MatchFunctors 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 MatchFunctorfilterContext - current filtering contextFilterProcessingException - thrown if the function can not be evaluatedpublic boolean evaluatePermitValue(ShibbolethFilteringContext filterContext, String attributeId, Object attributeValue) throws FilterProcessingException
evaluatePermitValue in interface MatchFunctorfilterContext - 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 MatchFunctorfilterContext - 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-2015. All Rights Reserved.