Class AttributeValueStringMatcher
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.attribute.filter.matcher.impl.AbstractMatcher
net.shibboleth.idp.attribute.filter.matcher.impl.AbstractStringMatcher
net.shibboleth.idp.attribute.filter.matcher.impl.AttributeValueStringMatcher
- All Implemented Interfaces:
Matcher,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
Test that an
IdPAttributeValue is a string 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 TypeMethodDescriptionbooleanGiven a value do we match?Methods inherited from class net.shibboleth.idp.attribute.filter.matcher.impl.AbstractStringMatcher
getMatchString, isCaseSensitive, setCaseSensitive, setMatchString, stringCompareMethods inherited from class net.shibboleth.idp.attribute.filter.matcher.impl.AbstractMatcher
doInitialize, getLogPrefix, getMatchingValuesMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.idp.attribute.filter.Matcher
getMatchingValues
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logLogger.
-
-
Constructor Details
-
AttributeValueStringMatcher
public AttributeValueStringMatcher()
-
-
Method Details
-
compareAttributeValue
Given a value do we match?- Specified by:
compareAttributeValuein classAbstractMatcher- Parameters:
value- the value to look at- Returns:
- yes if we do, otherwise no.
-