public interface ILdapClient extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
createElements(Attributes attrs,
String baseDn)
Create elements in baseDn
Connection needs to be open before.
|
NamingEnumeration<SearchResult> |
getElements(SearchControls constraints,
String baseDn,
String ldapFilter)
Get elements from Ldap Server
|
boolean |
isPagedResultControlSupported() |
void close()
throws Exception
close in interface AutoCloseableExceptionNamingEnumeration<SearchResult> getElements(SearchControls constraints, String baseDn, String ldapFilter) throws NamingException
constraints - SearchControlsbaseDn - baseDnldapFilter - ldapFilterNamingException - LDAP Connection must be opened before createElements()boolean isPagedResultControlSupported()
throws NamingException
NamingExceptionvoid createElements(Attributes attrs, String baseDn) throws NamingException
attrs - AttributesbaseDn - baseDnNamingException - LDAP Connection must be opened before createElements()Copyright © 2022 Visiativ. All rights reserved.