Spring LDAP 1.3.1 released

Releases | Ulrik Sandberg | November 30, 2010 | ...

Dear Spring Community,

We are pleased to announce that Spring LDAP version 1.3.1 has been released. This is an update release that adds a new LDIF parsing library, an Object-Directory Mapping (ODM) framework, and fixes a few problems that were in 1.3.0. Download | ChangeLog

A summary of the more important changes:

  • Added an Object-Directory Mapping (ODM) framework for annotation-based mapping between LDAP and Java objects; much like Hibernate or JPA, but for LDAP. Thanks to Paul Harvey for this contribution. (Docs)
  • Added an LDIF parsing library with an optional integration with Spring Batch. Thanks to Keith Barlow for this contribution. (Docs)
  • Added an extension to ContextMapperCallbackHandler that can provide the associated mapper with an indication that the response is different for each search result. (LDAP-185)
  • DIGEST-MD5 SASL authentication mechanism is now supported. Contributed by Marvin S. Addison. (LDAP-173)
  • AbstractTlsDirContextAuthenticationStrategy now provides a setter for customizing SSLSocketFactory used for TLS negotiation. (LDAP-180)
  • Added authentication methods that provide a possible authentication exception through an AuthenticationErrorCallback. (LDAP-192)

Get the latest Spring LDAP releases here

Ulrik Sandberg and Mattias Hellborg-Arthursson, Jayway
Spring LDAP Team

About

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, an Object-Directory Mapping (ODM) framework, an LDIF parsing library with Spring Batch integration, exception translation from NamingExceptions to a mirrored unchecked Exception hierarchy, as well as several utilities for working with filters, LDAP paths and Attributes.

Spring LDAP requires J2SE 1.4 or higher to run, and works with Spring Framework 2.0.x, 2.5.x as well as 3.0.x. J2SE 1.4 or higher is required for building the release binaries from sources. For release 1.2.1, an installation of JavaCC 4.0 is also required when building from source. That is not necessary for release 1.3.x, since it uses Maven2, which handles all such dependencies behind the scenes.

Where to start

Download the distribution from the link above. The distribution contains extensive JavaDoc documentation as well as full reference documentation and a sample application illustrating different ways to use Spring LDAP.

Support

Support is available on the Spring LDAP support forum
Bug reports, enhancement requests and patches should be submitted to the JIRA issue tracker

Sources

Sources are available in the Spring Framework Subversion repository:
http://src.springframework.org/svn/spring-ldap/trunk (latest sources)
http://src.springframework.org/svn/spring-ldap/tags/spring-ldap-1.3.1.RELEASE (1.3.1 sources)

Maven Users

Artifacts for all production releases will be available from the central Maven repository. Alternatively, you can specify the SpringSource release repository:

<repositories>
    <repository>
        <id>spring-release</id>
        <url>http://maven.springframework.org/release</url>
    </repository>
</repositories>

The dependencies in 1.3.1.RELEASE are:

<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-core</artifactId>
    <version>1.3.1.RELEASE</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-core-tiger</artifactId>
    <version>1.3.1.RELEASE</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-odm</artifactId>
    <version>1.3.1.RELEASE</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-ldif-core</artifactId>
    <version>1.3.1.RELEASE</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-ldif-batch</artifactId>
    <version>1.3.1.RELEASE</version>
</dependency>

Release candidates and milestones are available from the Spring Source milestone repository:

<repositories>
    <repository>
        <id>spring-milestone</id>
        <url>http://maven.springframework.org/milestone</url>
    </repository>
</repositories>

Nightly snapshots are available from the Spring Source snapshot repository:

<repositories>
    <repository>
        <id>spring-snapshot</id>
        <url>http://maven.springframework.org/snapshot</url>
    </repository>
</repositories>

The dependencies for 1.3.2.CI-SNAPSHOT are:
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-core</artifactId>
    <version>1.3.2.CI-SNAPSHOT</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-core-tiger</artifactId>
    <version>1.3.2.CI-SNAPSHOT</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-odm</artifactId>
    <version>1.3.2.CI-SNAPSHOT</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-ldif-core</artifactId>
    <version>1.3.2.CI-SNAPSHOT</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-ldif-batch</artifactId>
    <version>1.3.2.CI-SNAPSHOT</version>
</dependency>

Maven Configuration for Spring Integration

Releases | Mark Fisher | November 30, 2010 | ...

Dependencies

Add the following within the <dependencies> section of your POM:

<dependency>
   <groupId>org.springframework.integration</groupId>
   <artifactId>spring-integration-core</artifactId>
   <version>2.2.3.RELEASE</version>
</dependency>

That will make the "spring-integration-core" module available to your project (the "core" includes the Messaging API and Enterprise Integration Patterns support). If you want to use any of the adapters or support for XML, Groovy, and/or Spring Security, you can instead add one or more of the following as the "artifactId" value:

  • spring-integration-event
  • spring-integration-feed
  • spring-integration-file
  • spring-integration-ftp
  • spring-integration-groovy
  • spring-integration-http
  • spring-integration-ip
  • spring-integration-jdbc
  • spring-integration-jms
  • spring-integration-jmx
  • spring-integration-mail
  • spring-integration-rmi
  • spring-integration-security
  • spring-integration-sftp
  • spring-integration-stream
  • spring-integration-test
  • spring-integration-twitter
  • spring-integration-ws
  • spring-integration-xml
  • spring-integration-xmpp

NOTE: Any of the modules listed above will bring the "core" module in as a transitive dependency, so you do not need to include it in the POM if you are using at least one from that list. Also, some…

Spring Integration 2.0 GA Released (11/2010)

Releases | Adam Fitzgerald | November 29, 2010 | ...

Just in case you missed it, last week Mark Fisher announced that Spring Integration 2.0 is now GA. There is a "What's new in Spring Integration 2.0?" section in the reference manual that serves as a great starting point for existing 1.0 users and provides several links to the relevant sections within the manual where the new features are explained in detail. Mark's blog also covers the appropriate Maven POM entries and a sample application for the community to try.

There is also a recent webinar entitled Message-Driven Architecture with Spring that includes a fairly broad overview of Spring's support for ApplicationEvents, JMS, AMQP, Task Execution, and Scheduling. Also covered is a demo showing many adapters: REST, SOAP, email, XMPP, and Twitter. The webinar is highly recommended for anyone who wants to learn as much as they can, in just one hour, about Spring Integration and how it fits within the Spring platform.

Download | Reference Manual | Webinar | Forum | Issue Tracker

Spring Integration 2.0 GA Released

Engineering | Mark Fisher | November 23, 2010 | ...

I am very pleased to announce that Spring Integration 2.0 GA has been released!

Download

The distribution zip containing the Spring Integration JARs, source JARs, and documentation can be downloaded here.

Dependency Configuration

The artifacts should also be available from the Maven central repository at some point later today. In the meantime, you can add the springframework Maven repository to your POM. The following example shows a dependency on "spring-integration-core" and the springframework repository entry. If you plan to use any of our adapters, you can replace "spring-integration-core" with the appropriate adapter…

Spring into Mobile Application Development

Engineering | Keith Donald | November 20, 2010 | ...

At SpringOne2gx we announced exciting new initiatives in the areas of social media and mobile application development. A few weeks ago, Craig Walls released Spring Social. Today, Roy Clarkson released Spring Mobile and Spring Android. In this post, I'd like to highlight these projects and share how Spring aims to simplify mobile application development.

Choices in Mobile Application Development

If you attended SpringOne2gx this year, you've seen Greenhouse, an app we built for our community that also serves as a reference and driver for Spring technology. Craig showed you some of the social elements of Greenhouse, such as the ability to connect your account with Twitter and Facebook. There are also a number of mobile elements. Specifically, Greenhouse doubles as a mobile web app, and sports native Greenhouse for iPhone

Spring Android 1.0.0.M1 Released

Releases | Roy Clarkson | November 20, 2010 | ...

Dear Spring Community,

We are pleased to announce that the first milestone release of the Spring Android project is now available!

Spring Android supports usage of the Spring Framework in a Android environment. The defining feature of the 1.0.0.M1 release is RestTemplate support that provides a robust REST client to use in native Android applications.

To get you started, Keith has posted a Spring into Mobile Application Development blog, which provides insight into the project.

This milestone is the first in an exciting road ahead. If you're building native Android applications that communicate with Spring web apps, we invite you to join us in the development of the Spring Android project!

Spring Mobile 1.0.0.M1 Released

Releases | Roy Clarkson | November 19, 2010 | ...

Dear Spring Community,

We are pleased to announce that the first milestone release of the Spring Mobile project is now available!

Spring Mobile provides extensions to Spring MVC that aid in the development of cross-platform mobile web applications. The defining feature of the 1.0.0.M1 release is support for server-side device detection.

To get you started, Keith has posted a Spring into Mobile Application Development blog, which provides insight into the project.

This milestone is the first in an exciting road ahead. We invite you to get involved in Spring Mobile development and look forward to your feedback!

Yet Another Flavour of GORM: MongoDB

Engineering | Graeme Rocher | November 15, 2010 | ...

Our crusade to make GORM ubiquitous across NoSQL stores hit another milestones today as we are pleased to announce GORM for MongoDB.

MongoDB is a document database that bridges the gap between key-value stores (which are fast and highly scalable) and traditional RDBMS systems (which provide rich queries and deep functionality).

Like the Redis and Gemfire plugins, GORM for MongoDB has full support for CRUD operations:

def person = new Person(name:"Fred", age: 45)
person.save()

person = Person.get(person.id)
assert person != null

person.delete()

assert Person.get(person.id) == null

Rich querying with dynamic finders

SpringSource Tool Suite 2.5.1 released

Releases | Christian Dupuis | November 12, 2010 | ...

Dear Spring Community

I'm pleased to announce that we just released SpringSource Tool Suite (STS) 2.5.1.RELEASE.

Some highlights from the new release:

  • New features to make Spring Roo 1.1.0.RELEASE even more powerful
  • Support for tc Server 2.1 incl. Spring Insight
  • Grails projects can now be deployed directly to tc Server from within STS; just drag the app onto the server and make sure to fire up the new Spring Insight to profile your application
  • Enhancements for debugging Groovy code
  • JDT weaving is enabled by default

More details on new features and bug fixes can be found in the New and Noteworthy document. Detailed installation instructions are also available.

As always downloads are available from the STS download page. Feel free to stop by the community support forum if you have any question or issue.

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all