Class AndMatcher
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.logic.impl.AbstractComposedMatcher
net.shibboleth.idp.attribute.filter.matcher.logic.impl.AndMatcher
- All Implemented Interfaces:
Matcher
,Component
,DestructableComponent
,IdentifiableComponent
,IdentifiedComponent
,InitializableComponent
,UnmodifiableComponent
-
Field Summary
Fields inherited from interface net.shibboleth.idp.attribute.filter.Matcher
MATCHER_FAILS, MATCHES_ALL, MATCHES_NONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
getMatchingValues
(IdPAttribute attribute, AttributeFilterContext filterContext) A given attribute value is considered to have matched if, and only if, it is returned by every composed.toString()
Methods inherited from class net.shibboleth.idp.attribute.filter.matcher.logic.impl.AbstractComposedMatcher
getComposedMatchers, setSubsidiaries
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, wait, wait, wait
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Constructor Details
-
AndMatcher
public AndMatcher()
-
-
Method Details
-
getMatchingValues
@Nullable @NonnullElements public Set<IdPAttributeValue> getMatchingValues(@Nonnull IdPAttribute attribute, @Nonnull AttributeFilterContext filterContext) A given attribute value is considered to have matched if, and only if, it is returned by every composed. If any of the matchers fail then failure is returnedMatcher
. Return thoseIdPAttributeValue
s which match this rule, or null if the matcher failed.- Parameters:
attribute
- the attribute under question.filterContext
- the filter context- Returns:
- The result of this rule. Null if we failed.
-
doInitialize
- Overrides:
doInitialize
in classAbstractComposedMatcher
- Throws:
ComponentInitializationException
-
toString
-