org.ldaptive.auth
Class NoOpEntryResolver

java.lang.Object
  extended by 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.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Constructor Summary
NoOpEntryResolver()
           
 
Method Summary
 LdapEntry resolve(Connection conn, AuthenticationCriteria ac)
          Attempts to find the LDAP entry for the supplied authentication criteria, using the supplied connection.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoOpEntryResolver

public NoOpEntryResolver()
Method Detail

resolve

public LdapEntry resolve(Connection conn,
                         AuthenticationCriteria ac)
                  throws LdapException
Attempts to find the LDAP entry for the supplied authentication criteria, using the supplied connection. The supplied connection should not be closed in this method.

Specified by:
resolve in interface EntryResolver
Parameters:
conn - that authentication occurred on
ac - authentication criteria used to perform the authentication
Returns:
ldap entry
Throws:
LdapException - if an LDAP error occurs

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.