public interface LdapSearchService
| Modifier and Type | Method and Description |
|---|---|
List<LdapSearchResult> |
search(DirContext managerContext,
SearchSettings settings)
Searches LDAP with th e given settings and returns a list of results.
|
Optional<LdapSearchResult> |
searchFirst(DirContext managerContext,
SearchSettings settings)
Searches LDAP with the given settings and returns an optional result.
|
Optional<LdapSearchResult> searchFirst(DirContext managerContext, SearchSettings settings) throws NamingException
managerContext - The context to search withsettings - The settings for searchingNamingException - If the search failsList<LdapSearchResult> search(DirContext managerContext, SearchSettings settings) throws NamingException
managerContext - The context to search withsettings - The settings for searchingNamingException - If the search fails