About OpenDJ SDK Examples

This module contains example LDAP applications implemented using the OpenDJ LDAP SDK:

  • LDAP search - illustrates how to perform an LDAP search operation using the synchronous APIs
  • LDAP asynchronous search - illustrates how to perform an LDAP search operation using the asynchronous APIs
  • LDAP modify - illustrates how to perform an LDAP modify operation using the synchronous APIs
  • LDAP server - illustrates how to implement a very simple LDAP server
  • LDAP proxy - illustrates how to implement a very simple LDAP proxy
  • LDAP bind - illustrates how to bind to an LDAP server
  • LDAP SASL bind - illustrates how to implement a SASL PLAIN bind to an LDAP server
  • Parse attributes - illustrates how to get an entry's attribute values as objects
  • Read LDAP schema - illustrates how to read and verify an LDAP server's schema
  • Read Root DSE - illustrates how to read an LDAP server's capabilities and schema
  • Search & bind - illustrates how to authenticate given a mail address and a password
  • Short life - illustrates how to create, update, rename, and delete an entry
  • Use LDAP Controls - illustrates how to use supported LDAP controls
  • Use LDAP Extended Operations - illustrates how to use supported LDAP extended operations
  • Rewrite proxy - illustrates how to rewrite DNs and attribute names in a proxy layer
  • Update group - illustrates how to add or remove a member from a static group
  • Use GenericControl - illustrates how to use GenericControl to add a pre-read request control
  • Use GenericControl - illustrates how to use GenericControl to get change notifications from Active Directory
  • Reset AD user password - illustrates how to reset a user password in Active Directory as Administrator, or change the password as the user

Documentation for OpenDJ SDK Examples

Javadoc for this module can be found here.

Get OpenDJ SDK Examples

You can get OpenDJ SDK Examples using any of the following methods:

Download

Pre-built binaries can be downloaded directly from the ForgeRock Maven repository:

Build

For the DIY enthusiasts you can build it yourself by checking out the latest code using Subversion and building it with Maven 3.