Class AbstractTemplateSearchDnResolver

All Implemented Interfaces:
DnResolver
Direct Known Subclasses:
PooledTemplateSearchDnResolver, TemplateSearchDnResolver

public abstract class AbstractTemplateSearchDnResolver
extends AbstractSearchDnResolver
Base class for Template based search dn resolvers.
  • Field Details

    • template

      private final Template template
      Template.
    • eventHandler

      private org.apache.velocity.app.event.ReferenceInsertionEventHandler eventHandler
      Event handler used for escaping.
  • Constructor Details

    • AbstractTemplateSearchDnResolver

      public AbstractTemplateSearchDnResolver​(org.apache.velocity.app.VelocityEngine engine, String filter) throws org.apache.velocity.exception.VelocityException
      Creates a new abstract template search DN resolver.
      Parameters:
      engine - velocity engine
      filter - filter template
      Throws:
      org.apache.velocity.exception.VelocityException - if velocity is not configured properly or the filter template is invalid
  • Method Details