title: 2 - Basic LDAP API usage navPrev: 1-introduction.html navPrevText: 1 - Introduction navUp: ../user-guide.html navUpText: User Guide navNext: 3-advanced-ldap-api-usage.html navNextText: 3 - Advanced LDAP API Usage

2 - Basic LDAP API usage (...)

We provide three different sets of methods to send requests to the LDAP server:

  • The first set is the simplest. Its methods don't return a response but may throw a LdapOperationException if the operation was not successful.
  • The second set is for advanced users. It works with dedicated Request and Response objects and allows fine-grained control at the LDAP protocol level.
  • The third set allows users to send asynchronous requests.

The first set of methods covers all basic LDAP operations: Bind, Add, Delete, Modify, Move/Rename/MoveAndRename, Compare, and Unbind operations

The second and third sets cover all basic LDAP operations, Extended operations, and LDAP Controls.

Contents