Package org.ldaptive.auth
Interface DnResolver
-
- All Known Implementing Classes:
AggregateDnResolver
,FormatDnResolver
,NoOpDnResolver
,SearchDnResolver
public interface DnResolver
Provides an interface for finding LDAP DNs with a user identifier.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
resolve(User user)
Attempts to find the LDAP DN for the supplied user.
-
-
-
Method Detail
-
resolve
String resolve(User user) throws LdapException
Attempts to find the LDAP DN for the supplied user.- Parameters:
user
- to find DN for- Returns:
- user DN
- Throws:
LdapException
- if an LDAP error occurs
-
-