edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml
Class AbstractEntityAttributeRegexMatchFunctor
java.lang.Object
edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractMatchFunctor
edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml.AbstractEntityAttributeMatchFunctor
edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml.AbstractEntityAttributeRegexMatchFunctor
- All Implemented Interfaces:
- MatchFunctor
- Direct Known Subclasses:
- AttributeIssuerEntityAttributeRegexMatchFunctor, AttributeRequesterEntityAttributeRegexMatchFunctor
public abstract class AbstractEntityAttributeRegexMatchFunctor
- extends AbstractEntityAttributeMatchFunctor
Base class for match functors that perform an regular expression match of a given attribute string value against
entity attribute value.
Method Summary |
protected boolean |
entityAttributeValueMatches(String entityAttributeValue)
Checks whether the given entity attribute value matches the rules for particular implementation of this functor. |
Pattern |
getValueRegex()
Gets the value of the entity attribute the entity must have. |
void |
setValueRegex(Pattern attributeValueRegex)
Sets the value of the entity attribute the entity must have. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEntityAttributeRegexMatchFunctor
public AbstractEntityAttributeRegexMatchFunctor()
getValueRegex
public Pattern getValueRegex()
- Gets the value of the entity attribute the entity must have.
- Returns:
- value of the entity attribute the entity must have
setValueRegex
public void setValueRegex(Pattern attributeValueRegex)
- Sets the value of the entity attribute the entity must have.
- Parameters:
attributeValueRegex
- value of the entity attribute the entity must have
entityAttributeValueMatches
protected boolean entityAttributeValueMatches(String entityAttributeValue)
- Checks whether the given entity attribute value matches the rules for particular implementation of this functor.
- Specified by:
entityAttributeValueMatches
in class AbstractEntityAttributeMatchFunctor
- Parameters:
entityAttributeValue
- the entity attribute value, never null
- Returns:
- true if the value matches, false if not
Copyright © 2006-2011 Internet2. All Rights Reserved.