Class AttributeValueRegexpMatcher
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.attribute.filter.matcher.impl.AbstractMatcher
net.shibboleth.idp.attribute.filter.matcher.impl.AbstractRegexpStringMatcher
net.shibboleth.idp.attribute.filter.matcher.impl.AttributeValueRegexpMatcher
- All Implemented Interfaces:
Matcher
,Component
,DestructableComponent
,IdentifiableComponent
,IdentifiedComponent
,InitializableComponent
Test that an
IdPAttributeValue
is a regexp match to the configured string.
If the value is not a StringAttributeValue
string it is coerced into a string via the value's
Object.toString()
method.
-
Field Summary
FieldsFields inherited from interface net.shibboleth.idp.attribute.filter.Matcher
MATCHER_FAILS, MATCHES_ALL, MATCHES_NONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Given a value do we match?Methods inherited from class net.shibboleth.idp.attribute.filter.matcher.impl.AbstractRegexpStringMatcher
doInitialize, getRegularExpression, regexpCompare, setPattern
Methods inherited from class net.shibboleth.idp.attribute.filter.matcher.impl.AbstractMatcher
getLogPrefix, getMatchingValues
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setId
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
getId
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Field Details
-
log
private final org.slf4j.Logger logLogger.
-
-
Constructor Details
-
AttributeValueRegexpMatcher
public AttributeValueRegexpMatcher()
-
-
Method Details
-
compareAttributeValue
Given a value do we match?- Specified by:
compareAttributeValue
in classAbstractMatcher
- Parameters:
value
- the value to look at- Returns:
- yes if we do, otherwise no.
-