Class AndMatcher
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.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 voidgetMatchingValues(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, setSubsidiariesMethods 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, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getId
-
Constructor Details
-
AndMatcher
public AndMatcher()
-
-
Method Details
-
getMatchingValues
@Nullable @Unmodifiable @NotLive 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 thoseIdPAttributeValues 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:
doInitializein classAbstractComposedMatcher- Throws:
ComponentInitializationException
-
toString
-