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
      Logger.
  • 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
      Parameters:
      value - the value to look at
      Returns:
      yes if we do, otherwise no.