shibsp::MatchFunctor Class Reference

A function that evaluates whether an expressed criteria is met by the current filter context. More...

#include <shibsp/attribute/filtering/MatchFunctor.h>

List of all members.

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.


Detailed Description

A function that evaluates whether an expressed criteria is met by the current filter context.

Member Function Documentation

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.

Parameters:
filterContext current filtering context
Returns:
true if the criteria for this matching function are met
Exceptions:
AttributeFilteringException thrown if the function can not be evaluated

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.

Parameters:
filterContext the current filtering context
attribute the attribute being evaluated
index the index of the attribute value being evaluated
Returns:
true if the criteria for this matching function are met
Exceptions:
AttributeFilteringException thrown if the function can not be evaluated


The documentation for this class was generated from the following file:

Generated on Tue Jul 26 01:11:32 2011 for shibboleth-2.4.3 by  doxygen 1.5.6