LDAP Realm Module for Tomcat for JDK versions 1.3 and earlier

With the introduction of the jdk/sdk version 1.4 from Sun, Sun had included the SSL libraries in the base jdk. With the addition of these libraries to the SDK, they made some changes to the names of handlers. As a result of this you will need to download the correct ldaprealm file and associated pieces based on which JDK you will be using with Tomcat. The ldap jdk is also dependent on the jdk version, but do not worry it is available below for download.

For more information on the LDAP SDK etc visit http://www.mozilla.org/directory

It is highly recommended that you use version 4.17 or later of the ldap libraries. They include support for every robust connection handling that will virtually eliminate connection loss with a directory server.

Here are the recommended installation instructions for the LDAP Realm Module and associated files:

  1. Place ldaprealm.jar in $CATALINA_HOME/server/lib
  2. Place ldapjdk.jar in $CATALINA_HOME/common/lib
  3. Place jnet.jar in $CATALINA_HOME/common/lib
  4. Place jsse.jar in $CATALINA_HOME/common/lib
  5. Place jcert.jar in $CATALINA_HOME/common/lib
  6. Modify the server.xml file to support the LDAPRealm Mbeans (if wanted)

The jnet.jar, jsse.jar, jcert.jar files are needed for ldap SSL communications only. If you are not using SSL to do ldap connections then you do not need these.

For convenience, I have placed all the files mentioned above (except the SSL libraries from Sun below).

Get the LDAP jdk jar file version 417 for jdk 1.3 and below here. (right click this link and do a save as)

Download the LDAPRealm version 1.4 jar file ldaprealm.jar (right click this link and do a save as)

Documentation on the module and the parameters is here.

Source code is here (right click this link and do a save as).

Link to Sun Page for JSSE (1.0.3) Libraries (jcert.jar, jnet.jar, jsse.jar)

Download a complete compiled copy of the LDAP SDK version 4.17 (docs etc...)

please remove the .nospam from end of the email address in your mail client when using the comments/questions link above!