Class NoOpEntryResolver

java.lang.Object
org.ldaptive.auth.NoOpEntryResolver
All Implemented Interfaces:
EntryResolver

public class NoOpEntryResolver extends Object implements EntryResolver
Returns an LDAP entry that contains only the DN that was supplied to it.
  • Constructor Details

    • NoOpEntryResolver

      public NoOpEntryResolver()
  • Method Details

    • resolve

      public LdapEntry resolve(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)
      Description copied from interface: EntryResolver
      Attempts to find the LDAP entry for the supplied authentication criteria and authentication handler response. The connection available in the response should not be closed in this method.
      Specified by:
      resolve in interface EntryResolver
      Parameters:
      criteria - authentication criteria used to perform the authentication
      response - produced by the authentication handler
      Returns:
      ldap entry
    • toString

      public String toString()
      Overrides:
      toString in class Object