Package org.ldaptive.auth
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 Summary
Constructors Constructor Description NoOpEntryResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LdapEntry
resolve(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)
Attempts to find the LDAP entry for the supplied authentication criteria and authentication handler response.String
toString()
-
-
-
Method Detail
-
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 interfaceEntryResolver
- Parameters:
criteria
- authentication criteria used to perform the authenticationresponse
- produced by the authentication handler- Returns:
- ldap entry
-
-