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