April 22, 2006

LdapTemplate: LDAP Programming in Java

LdapTemplate is a framework to simplfy LDAP programming in Java, built on the same principles as Spring JDBC. There is a nice article over on java.net, LdapTemplate: LDAP Programming in Java Made Simple. which introduces the need to for the framework and examples of its functionality.

To start, Spring JDBC provides several utilities that ease SQL Programming. The idea of LdapTemplate is to provide for JNDI/LDAP(Java LDAP) a similar framework.

LdapTemplate completely eliminates the need to worry about creating and closing LdapContext and looping through NamingEnumeration. It also provides a more comprehensive unchecked Exception hierarchy, built on Spring's DataAccessException. In addition it also contains classes for dynamically building LDAP filters and DNs.

Posted by Elyse at April 22, 2006 6:51 AM
Comments
Post a comment









Remember personal info?