edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml
Class AttributeRequesterInEntityGroupMatchFunctor

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractMatchFunctor
      extended by edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml.AbstractEntityGroupMatchFunctor
          extended by edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml.AttributeRequesterInEntityGroupMatchFunctor
All Implemented Interfaces:
MatchFunctor

public class AttributeRequesterInEntityGroupMatchFunctor
extends AbstractEntityGroupMatchFunctor

A match function that evaluates to true if attribute requester matches the provided entity group name.


Constructor Summary
AttributeRequesterInEntityGroupMatchFunctor()
           
 
Method Summary
 boolean doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext)
          Evaluates this matching criteria.
 boolean doEvaluateValue(ShibbolethFilteringContext filterContext, String attributeId, Object attributeValue)
          Evaluates this matching criteria.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml.AbstractEntityGroupMatchFunctor
getEntityGroup, isEntityInGroup, setEntityGroup
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractMatchFunctor
evaluateDenyRule, evaluatePermitValue, evaluatePolicyRequirement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeRequesterInEntityGroupMatchFunctor

public AttributeRequesterInEntityGroupMatchFunctor()
Method Detail

doEvaluatePolicyRequirement

public boolean doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext)
                                    throws FilterProcessingException
Evaluates this matching criteria. This evaluation is used while the filtering engine determines policy applicability.

Specified by:
doEvaluatePolicyRequirement in class AbstractMatchFunctor
Parameters:
filterContext - current filtering context
Returns:
true if the criteria for this matching function are meant
Throws:
FilterProcessingException - thrown if the function can not be evaluated

doEvaluateValue

public boolean doEvaluateValue(ShibbolethFilteringContext filterContext,
                               String attributeId,
                               Object attributeValue)
                        throws FilterProcessingException
Evaluates this matching criteria. This evaluation is used while the filtering engine is evaluating either a deny or permit value rule.

Specified by:
doEvaluateValue in class AbstractMatchFunctor
Parameters:
filterContext - the current filtering context
attributeId - ID of the attribute being evaluated
attributeValue - value of the attribute being evaluated
Returns:
true if the criteria for this matching function are meant
Throws:
FilterProcessingException - thrown if the function can not be evaluated


Copyright © 1999-2012. All Rights Reserved.