Package org.ldaptive.auth
Interface EntryResolver
-
- All Known Implementing Classes:
AbstractSearchEntryResolver
,AggregateEntryResolver
,AuthorizationIdentityEntryResolver
,NoOpEntryResolver
,SearchEntryResolver
,WhoAmIEntryResolver
public interface EntryResolver
Provides an interface for finding a user's ldap entry after a successful authentication.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
resolve
LdapEntry resolve(AuthenticationCriteria criteria, AuthenticationHandlerResponse response) throws LdapException
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.- Parameters:
criteria
- authentication criteria used to perform the authenticationresponse
- produced by the authentication handler- Returns:
- ldap entry
- Throws:
LdapException
- if an LDAP error occurs
-
-