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 AutoCloseable
Exception
NamingEnumeration<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
NamingException
void createElements(Attributes attrs, String baseDn) throws NamingException
attrs
- AttributesbaseDn
- baseDnNamingException
- LDAP Connection must be opened before createElements()Copyright © 2021 Visiativ Software. All rights reserved.