Class AttributeValueRegexpMatcher

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

public class AttributeValueRegexpMatcher extends AbstractRegexpStringMatcher
Test that an IdPAttributeValue is a regexp 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

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

    • AttributeValueRegexpMatcher

      public AttributeValueRegexpMatcher()
  • 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.