Ldaptive provides an API similar to the J2EE entity manager to facilitate reading and writing LDAP data with Java beans. This support is provided in a separate library that is available in the jars directory of the latest download.
Or included as a maven dependency:
The interface for ldap entry manager looks like:
Ldaptive provides a default implementation of the LdapEntryManager which delegates to the appropriate add, merge, or delete operation.
Simple Java bean to illustrate usage:
Perform some common operations against the LDAP:
Ldaptive is an open source project developed and supported by
at Virginia Tech