We use a bunch of different LDAP SDKs and we like UnboundID LDAP SDK
best.
We like
UnboundID LDAP SDK For Java and think it is the best maintained
SDK and provides the best features.
Excellent LDAP API with considerable LDAP Connection Pool capabilities.
The
Apache Directory LDAP API
is an ongoing effort to provide an enhanced LDAP API, as a replacement for
JNDI and the existing LDAP API (
jLdap and
Mozilla LDAP API).
This is a "schema aware" API with some convenient ways to access all types of LDAP servers, not only
ApacheDS but any
LDAP server.
Certainly if you are using
eDirectory consider this, but it has not been maintained and has had no updates in years!
There are two branches:
Javadoc for the
com.novell.ldap
package is located on the Web, or on the local disk once the documentation has been installed (default location is C:\Novell\NDK\jldap\doc\jldapenu\api)
com.novell.ldap
This package contains the Novell Java Classes for LDAP. It includes the following:
- Classes defined by the IETF Java LDAP API Internet Draft
- Classes defined by IETF Java LDAP Internet Drafts on controls
- Classes supporting SSL authentication
- Classes supporting Novell defined extensions
- Classes supporting controls for eDirectory operations like partition and replica operations.
- Classes providing OID definitions for common syntaxes, attributes, controls, etc.
- Classes supporting generation of ASN.1 for customer defined controls or extensions
This package contains only those classes defined by the current IETF drafts and RFCs, and should be used when binary compatibility with other SDKs are required. It includes the following:
- Classes defined by the IETF Java LDAP API Internet Draft
- Classes defined by IETF Java LDAP Internet Drafts on controls
Javadoc for the org.ietf.ldap
package is located on the Web , or on the local disk once the documentation has been installed (default location is C:\Novell\NDK\jldap\doc\jldapenu\ietfapi)
You may also need some of
Novell's other APIs
depending on what you are trying to acomplish.
If you are working with Universal Password, you may need the NMAS APIs.
The
OpenDJ LDAP SDK provides a set of modern, developer-friendly
Java APIs as part of the OpenDJ product suite. The product suite includes the client
SDK alongside command-line tools and sample code, a 100% pure Java directory server, and more. You can use OpenDJ SDK to create client applications for use with any server that complies with the, RFC 4510: Lightweight Directory Access Protocol (LDAP): Technical Specification Road Map.
Well, I think
Oracle may have another
SDK or two, but they are such a mess I can not find anything else.
As we understand thing, this is a fork of the
Novell's SDK
; However, it appears that at some point in time, the code base has diverged and they are no longer maintained in the same fashion.
The
Java Naming and Directory Interface JNDI is part of the
Java platform, providing applications based on Java technology with a unified interface to multiple naming and directory services. You can build powerful and portable directory-enabled applications using this industry standard works in concert with other technologies in the Java 2 Platform, Enterprise Edition (J2EE) to organize and locate components in a distributed computing environment.
LDAPWiki feels JNDI is not nearly as convenient and typically has a higher learning curve than a dedicated JAVA LDAP SDKs
There might be more information for this subject on one of the following: