PDA

View Full Version : Spring LDAP 1.2 Released



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

Eliseo
Oct 31st, 2007, 11:22 AM
Great work! Congratulations on this new release!

When are the Maven repos going to be updated?

http://repo1.maven.org/maven2/org/springframework/spring-ldap/

rasky
Oct 31st, 2007, 12:19 PM
Yes, as always the mvn stuff is slightly behind. We'll try to get it in place as soon as possible.

sthomps
Oct 31st, 2007, 04:13 PM
Any idea on when the code donated here Per-ContextSource pooling library (http://forum.springframework.org/showthread.php?t=35229&highlight=PoolingContextSource) will make it into a release?

rasky
Nov 3rd, 2007, 04:11 AM
We are aiming to add it in the next release. I will be trying to get it out of the sandbox and into the main codebase shortly, making it available in the nightly builds at least.

rasky
Nov 9th, 2007, 06:55 AM
Just to let you guys know, the latest release is now available in maven. Please note that there's a new groupId for Spring LDAP from this version on; the groupid is now org.springframework.ldap (this is to conform to the standard used in all the different spring framework sub projects).

There are two artifacts: spring-ldap and spring-ldap-tiger

Cheers,

jordanh
Nov 13th, 2007, 11:53 AM
I appreciate you making it available in the maven repository (repo1.maven.org). I was waiting for this before I upgraded to 1.2. Thanks a bunch!

Manuel Palacio
Nov 23rd, 2007, 03:15 AM
Jayway guys,

Which repo is that?

I don't see it here: http://repo1.maven.org/maven2/org/springframework/spring-ldap/

I need those jars :)

rasky
Nov 23rd, 2007, 06:14 AM
As I said in the announcement, the groupId has changed in this release, from org.springframework to org.springframework.ldap, so you'll find the binaries here:
http://repo1.maven.org/maven2/org/springframework/ldap/spring-ldap
Spring LDAP Java 1.5 support can be found here:
http://repo1.maven.org/maven2/org/springframework/ldap/spring-ldap-tiger/

Manuel Palacio
Nov 23rd, 2007, 06:34 AM
Thanks Mattias!