|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractMatchFunctor
public abstract class AbstractMatchFunctor
Base class for 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 Summary | |
---|---|
AbstractMatchFunctor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMatchFunctor()
Method Detail |
---|
public boolean evaluatePolicyRequirement(ShibbolethFilteringContext filterContext) throws FilterProcessingException
evaluatePolicyRequirement
in interface MatchFunctor
filterContext
- current filtering context
FilterProcessingException
- 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 evaluated
FilterProcessingException
- 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 evaluated
FilterProcessingException
- thrown if the function can not be evaluatedprotected abstract boolean doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext) throws FilterProcessingException
filterContext
- current filtering context
FilterProcessingException
- 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 evaluated
FilterProcessingException
- thrown if the function can not be evaluated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |