Class AttributeScopeRegexpMatcher
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.AbstractRegexpStringMatcher
net.shibboleth.idp.attribute.filter.matcher.impl.AttributeScopeRegexpMatcher
- All Implemented Interfaces:
Matcher,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
Test that the scope in a
ScopedStringAttributeValue is a regexp match to configured value.
If the value is not scoped return false (meaning that the value will not be included in the resulting set).
-
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.AbstractRegexpStringMatcher
doInitialize, getRegularExpression, regexpCompare, setPatternMethods inherited from class net.shibboleth.idp.attribute.filter.matcher.impl.AbstractMatcher
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
getId
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logLogger.
-
-
Constructor Details
-
AttributeScopeRegexpMatcher
public AttributeScopeRegexpMatcher()
-
-
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.
-