edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic
Class AttributeScopeRegexMatchFunctor
java.lang.Object
edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractMatchFunctor
edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractRegexMatchFunctor
edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractAttributeTargetedRegexMatchFunctor
edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AttributeScopeRegexMatchFunctor
- All Implemented Interfaces:
- MatchFunctor
public class AttributeScopeRegexMatchFunctor
- extends AbstractAttributeTargetedRegexMatchFunctor
Match functor that checks if an attribute's scoped values are equal to a given regular expression.
Attribute values evaluated by this functor must be of type ScopedAttributeValue
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeScopeRegexMatchFunctor
public AttributeScopeRegexMatchFunctor()
doEvaluateValue
protected boolean doEvaluateValue(ShibbolethFilteringContext filterContext,
String attributeId,
Object attributeValue)
throws FilterProcessingException
- Checks if the given attribute value's scope matchs the given regular expression.
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 contextattributeId
- ID of the attribute being evaluatedattributeValue
- value of the attribute being evalauted
- Returns:
- true if the criteria for this matching function are meant
- Throws:
FilterProcessingException
- thrown if the function can not be evaluated
doEvaluatePolicyRequirement
protected boolean doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext)
throws FilterProcessingException
- Checks if any of the scopes for the values of the given attribute match the given regular expression.
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
Copyright © 2006-2008 Internet2. All Rights Reserved.