rasky
Oct 31st, 2007, 06:55 AM
Dear Spring Community,
We are pleased to announce the release of Spring LDAP version 1.2. This is a major release, introducing a number of new features and bug fixes, including the following:
SimpleLdapTemplate
----------------------------
Java5 Generics support is now provided with the spring-ldap-tiger.jar binary, intruducing a SimpleLdapTemplate and a ParameterizedContextMapper.
Client-Side Transaction Support
-----------------------------------------
Client-side LDAP transactions are now supported using the ContextSourceTransactionManager.
Simplified API methods
-------------------------------
Several parts of the API have been simplified by introducing new methods. E.g. there is now a lookupContext(DN) and a modifyAttributes(DirContextOperations) method in LdapTemplate. Using these new methods an update operation can now be written in a very compact manner:
DirContextOperations ctx = ldapTemplate.lookupContext(entryDn);
ctx.setAttributeValue("someAttribute", "somevalue");
// Set more attribute values here
ldapTemplate.modifyAttributes(ctx);
New methods to simplify accessing parts of DistinguishedNames have also been added.
Package restructuring
----------------------------
Due to some package inconsistencies the package structure was modified in version 1.2-RC1 of Spring LDAP. Consequently, version 1.2 is NOT a drop-in replacement for version 1.1.2. A detailed upgrade guide is however provided, and upgrading should not present very much trouble.
The above are just some of the highlights. For a full list of all changes, refer to the changelog (https://sourceforge.net/project/shownotes.php?group_id=73357&release_id=550670)
Binaries are available for download here (https://sourceforge.net/project/showfiles.php?group_id=73357&package_id=202038&release_id=550670)
As always comments, improvement suggestions and patches are most welcome, here on the forum or on the JIRA issue tracker (http://opensource.atlassian.com/projects/spring/browse/LDAP)
Regards,
The Spring LDAP Team
We are pleased to announce the release of Spring LDAP version 1.2. This is a major release, introducing a number of new features and bug fixes, including the following:
SimpleLdapTemplate
----------------------------
Java5 Generics support is now provided with the spring-ldap-tiger.jar binary, intruducing a SimpleLdapTemplate and a ParameterizedContextMapper.
Client-Side Transaction Support
-----------------------------------------
Client-side LDAP transactions are now supported using the ContextSourceTransactionManager.
Simplified API methods
-------------------------------
Several parts of the API have been simplified by introducing new methods. E.g. there is now a lookupContext(DN) and a modifyAttributes(DirContextOperations) method in LdapTemplate. Using these new methods an update operation can now be written in a very compact manner:
DirContextOperations ctx = ldapTemplate.lookupContext(entryDn);
ctx.setAttributeValue("someAttribute", "somevalue");
// Set more attribute values here
ldapTemplate.modifyAttributes(ctx);
New methods to simplify accessing parts of DistinguishedNames have also been added.
Package restructuring
----------------------------
Due to some package inconsistencies the package structure was modified in version 1.2-RC1 of Spring LDAP. Consequently, version 1.2 is NOT a drop-in replacement for version 1.1.2. A detailed upgrade guide is however provided, and upgrading should not present very much trouble.
The above are just some of the highlights. For a full list of all changes, refer to the changelog (https://sourceforge.net/project/shownotes.php?group_id=73357&release_id=550670)
Binaries are available for download here (https://sourceforge.net/project/showfiles.php?group_id=73357&package_id=202038&release_id=550670)
As always comments, improvement suggestions and patches are most welcome, here on the forum or on the JIRA issue tracker (http://opensource.atlassian.com/projects/spring/browse/LDAP)
Regards,
The Spring LDAP Team