Spring LDAP is a Java library for simplifying LDAP operations, based on the pattern of Spring's JdbcTemplate. The framework relieves the user of common chores, such as looking up and closing contexts, looping through results, encoding/decoding values and filters, and more. The LdapTemplate class encapsulates all the plumbing work involved in traditional LDAP programming, such as creating a DirContext, looping through NamingEnumerations, handling exceptions and cleaning up resources. This leaves the programmer to handle the important stuff - where to find data (DNs and Filters) and what do do with it (map to and from domain objects, bind, modify, unbind, etc.), in the same way that JdbcTemplate relieves the programmer of all but the actual SQL and how the data maps to the domain model. In addition to this, Spring LDAP provides transaction support, a pooling library, exception translation from NamingExceptions to a mirrored unchecked Exception hierarchy, as well as several utilities for working with filters, LDAP paths and Attributes.
Release date: 1 December 2010
License: The Apache Software License, Version 2.0
Files: 240,
Classes: 245,
Lines of code: 25637
Google AppEngine: Partial support
Depends on:(View as diagram)
  • Maven-Central / commons-logging / commons-logging
  • Maven-Central / org.springframework / spring-asm
  • Maven-Central / org.springframework / spring-core
  • JDK / jdk / openjdk
Used by:
MD5 Signatures:
  • 5cb9a5b6ba7f7c508bfa5c6dae34fe21
  • feeee04183524ff0a2f2dca36ad3656d
New to GrepCode? Check out our FAQ X