Package com.axemble.vdoc.sdk.interfaces
Interface ILdapClient
- All Superinterfaces:
AutoCloseable
LDAP connection SDK interface
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
createElements
(Attributes attrs, String baseDn) Create elements in baseDn Connection needs to be open before.getElements
(SearchControls constraints, String baseDn, String ldapFilter) Get elements from Ldap Serverboolean
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
getElements
NamingEnumeration<SearchResult> getElements(SearchControls constraints, String baseDn, String ldapFilter) throws NamingException Get elements from Ldap Server- Parameters:
constraints
- SearchControlsbaseDn
- baseDnldapFilter
- ldapFilter- Returns:
- NamingEnumeration
- Throws:
NamingException
- LDAP Connection must be opened before createElements()
-
isPagedResultControlSupported
- Returns:
- boolean value
- Throws:
NamingException
-
createElements
Create elements in baseDn Connection needs to be open before.- Parameters:
attrs
- AttributesbaseDn
- baseDn- Throws:
NamingException
- LDAP Connection must be opened before createElements()
-