A function that evaluates whether an expressed criteria is met by the current filter context. More...
#include <shibsp/attribute/filtering/MatchFunctor.h>
Public Member Functions | |
virtual bool | evaluatePolicyRequirement (const FilteringContext &filterContext) const =0 |
Evaluates this matching criteria. | |
virtual bool | evaluatePermitValue (const FilteringContext &filterContext, const Attribute &attribute, size_t index) const =0 |
Evaluates this matching criteria. |
A function that evaluates whether an expressed criteria is met by the current filter context.
virtual bool shibsp::MatchFunctor::evaluatePermitValue | ( | const FilteringContext & | filterContext, | |
const Attribute & | attribute, | |||
size_t | index | |||
) | const [pure virtual] |
Evaluates this matching criteria.
This evaluation is used when a filtering engine is filtering attribute values.
filterContext | the current filtering context | |
attribute | the attribute being evaluated | |
index | the index of the attribute value being evaluated |
AttributeFilteringException | thrown if the function can not be evaluated |
virtual bool shibsp::MatchFunctor::evaluatePolicyRequirement | ( | const FilteringContext & | filterContext | ) | const [pure virtual] |
Evaluates this matching criteria.
This evaluation is used when a filtering engine determines policy applicability.
filterContext | current filtering context |
AttributeFilteringException | thrown if the function can not be evaluated |