Class AttributeValueStringMatcher

All Implemented Interfaces:
Matcher, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent

public class AttributeValueStringMatcher extends AbstractStringMatcher
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 Details

    • log

      @Nonnull private final org.slf4j.Logger log
  • Constructor Details

    • AttributeValueStringMatcher

      public AttributeValueStringMatcher()
  • Method Details

    • compareAttributeValue

      public boolean compareAttributeValue(@Nullable IdPAttributeValue value)
      Given a value do we match?
      Specified by:
      compareAttributeValue in class AbstractMatcher
      value - the value to look at
      yes if we do, otherwise no.