Class TemplatedSearchBuilder

java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.idp.attribute.resolver.dc.storage.impl.TemplatedSearchBuilder
All Implemented Interfaces:
ExecutableSearchBuilder<StorageServiceSearch>, Component, DestructableComponent, InitializableComponent

public class TemplatedSearchBuilder extends AbstractInitializableComponent implements ExecutableSearchBuilder<StorageServiceSearch>
An ExecutableSearchBuilder that generates the StorageService context and key using Velocity templates.
Since:
4.1.0
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • contextTemplate

      @NonnullAfterInit private Template contextTemplate
      Context template to be evaluated.
    • keyTemplate

      @NonnullAfterInit private Template keyTemplate
      Key template to be evaluated.
    • contextTemplateText

      @NonnullAfterInit private String contextTemplateText
      Text of context template to be evaluated.
    • keyTemplateText

      @NonnullAfterInit private String keyTemplateText
      Text of key template to be evaluated.
    • engine

      @NonnullAfterInit private org.apache.velocity.app.VelocityEngine engine
      VelocityEngine.
    • customObject

      @Nullable private Object customObject
      A custom object to inject into the template.
  • Constructor Details

    • TemplatedSearchBuilder

      public TemplatedSearchBuilder()
  • Method Details