Class SetConfigurationLookupStrategy<T>

Type Parameters:
T - type of object in list
All Implemented Interfaces:
Function<BaseContext,Set<T>>, Component, DestructableComponent, InitializableComponent

public class SetConfigurationLookupStrategy<T> extends AbstractCollectionConfigurationLookupStrategy<T,Set<T>>
A strategy function that examines SAML metadata associated with a relying party and derives Set<String>-valued configuration settings based on EntityAttribute extension tags.
Since:
5.0.0
  • Field Details

    • LOG

      @Nonnull private static final org.slf4j.Logger LOG
      Class logger.
  • Constructor Details

    • SetConfigurationLookupStrategy

      public SetConfigurationLookupStrategy()
  • Method Details

    • doTranslate

      @Nullable protected Set<T> doTranslate(@Nonnull IdPAttribute tag)
      Translate the value(s) into a setting of the appropriate type.

      Overrides of this function can assume a non-zero collection of values.

      Specified by:
      doTranslate in class AbstractMetadataDrivenConfigurationLookupStrategy<Set<T>>
      Parameters:
      tag - tag to translate
      Returns:
      the setting derived from the tag's value(s)
    • doTranslate

      @Nullable protected Set<T> doTranslate(@Nonnull Attribute tag)
      Translate the value(s) into a setting of the appropriate type.

      Overrides of this function can assume a non-zero collection of values.

      Specified by:
      doTranslate in class AbstractMetadataDrivenConfigurationLookupStrategy<Set<T>>
      Parameters:
      tag - tag to translate
      Returns:
      the setting derived from the tag's value(s)