LdapTemplate 1.0.2 review

Download
by rbytes.net on

LdapTemplate is a framework to simplify LDAP programming in Java, built on the same principles as Spring Jdbc. LdapTemplate is a f

License: The Apache License 2.0
File size: 0K
Developer: Mattias Arthursson
0 stars award from rbytes.net

LdapTemplate is a framework to simplify LDAP programming in Java, built on the same principles as Spring Jdbc.

LdapTemplate is a framework to simplify LDAP programming in Java, built on the same principles as Spring Jdbc.

The LdapTemplate class encapsulates all the plumbing work involved in traditional LDAP programming, such as creating Contexts, looping through NamingEnumerations, handling Exceptions, and cleaning up resources.

This leaves the programmer free 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.).

What's New in This Release:
Added methods in LdapTemplate to unbind recursively.
Added rename() method to LdapTemplate.
Fixed bug in getPrefix() of DistinguishedName.
Fixed bug in getModificationItems() of DirContextAdapter.
The method now correctly handles changes of individual vales in multi-value attributes.
Introduced AbstractContextSource, moved the code from LdapContextSource there and made LdapContextSource and DirContextSource inherit from this.
Upgraded to Acegi 1.0.0. Removed classes no longer needed:
LdapTemplateLdapAuthenticationProvider
LdapTemplateUserDetails

NOTE*:
This means that configuration needs to be changed if using Acegi, since the API and package structure has changed in Acegi between versions 1.0.0-RC2 and 1.0.0 final.

LdapTemplate 1.0.2 keywords