Load-time weaving, Spring and Maven.

Mattias Ask

As some of you might have read in my earlier post, I’m using load-time weaving in the project that I’m working on. Lately I’ve run in to some problems with getting the tests to play nice with Maven.
So what was the problem? Well, I’ve been using @Configurable and @Autowired to inject stuff in my [...]

Tags: , , , , ,

Referential Integrity using Spring LDAP

Vlado Palczynski

The directory servers of today are packed with a lot of nice features, one of them being Referential Integrity which performs integrity updates on attributes like member, uniqueMember, owner etc. Simpler put, when an entry updates its distinguished name, all references using the old distinguished name get updated to the new one.
However, there can be [...]

Tags: , , , ,

Spring Security For Real with Grails

Mattias Hellborg Arthursson

Spring Security is one of the basic building blocks I use pretty much every time I’m constructing a web application. It’s a very mature and incredibly powerful security framework, one of its main benefits being its versatility. There are hooks and plugs everywhere, allowing you to extend and combine basically any way you want.
Now, if [...]

Tags: , , , ,

Spring and load-time weaving of Neo4j-based domain objects

Mattias Ask

What do you do when your Spring configuration isn’t in charge of creating your objects that needs to be injected with stuff? This became a real problem for me when I tried doing some non-anemic domain object implementations persisted as Neo4j Nodes.
I was playing around with creating a Twitter clone, in my opinion the [...]

Tags: , , , , ,

Simple Authentication Using Spring LDAP

Mattias Hellborg Arthursson

It’s with great pleasure that we can now finally announce the final 1.3.0 version of Spring LDAP. It’s been a while since we’ve made a major release, but there’s quite a bit in this one to make up for it. Among the highlights of this release are the improvements in the authentication area, which is [...]

Tags: , , , , , , , ,

Devoxx highlights

Jacob Mattsson

In order to embrace the true Christmas spirit, I thought I’d share a few goodies from the Devoxx conference that took place in Antwerp, Belgium in mid December. Devoxx is the former JavaPolis that has changed name due to trademarking issues with Sun. Nonetheless, it’s still the worlds largest independent Java conference, where the 3200 [...]

Tags: , , , , ,

Encrypting Properties With Jasypt

Ulrik Sandberg

Properties are used in many Java applications as a simple way of separating parts that are likely to change, from the parts that are not that likely to change. Consider for example this typical bean definition in a Spring configuration file:
 
<bean id="traditionalPersonDao"
class="org.springframework.ldap.samples.article.dao.TraditionalPersonDaoImpl">
<property name="url" value="ldap://localhost:3901" />
<property name="base" value="dc=jayway,dc=se" />
<property name="userDn" [...]

Tags: , , ,

What’s New in Spring LDAP 1.3

Mattias Hellborg Arthursson

We recently released Spring LDAP 1.3.0.RC1. This long awaited release contains a number of new features and bug fixes. In this post I’ll highlight some of the changes, pointing out some of my favorite Spring LDAP features.
Simple Authentication Mechanism
By far the most requested feature for inclusion in Spring LDAP has been the ability to easily [...]

Tags: , , ,

Testing Among the Clouds, Part 2

Mattias Hellborg Arthursson

In a recent post I wrote about the particular problems we’ve been having with integration testing the Spring LDAP project and the use we’ve made of Amazon EC2 for solving these problems. In this post I’ll present the implementation details.
Prerequisites
In order to keep this reasonably brief I’ll have to refer to the getting started guide [...]

Tags: , , , , , ,

Spring Remoting with Security and SSL

Mattias Hellborg Arthursson

One of my favorite features of the Spring Framework is the Spring Remoting part, which enables you to expose any bean in a Spring Application Context as a remote service over HTTP. It’s fast, it’s easy, and it’s really, really simple.
Basic Spring Remoting Configuration
In the general situation all you need to do is create a [...]

Tags: , , , ,

Testing Among the Clouds

Mattias Hellborg Arthursson

One of the major challenges we’ve been facing in the Spring LDAP project is to make certain that the library works together with different LDAP servers. Different servers behave differently in certain situations; some functionality might only be supported on select servers, etc. In the ideal situation we would run our automated test suite against [...]

Tags: , , , , , , ,

Sweden Spring UG Birth of a new UG

Ulrik Sandberg

Once in a while we see a new user group being born. One of those is close to many Java programmers’ hearts – the Sweden Spring User Group.
We turned to Ulrik Sandberg, one of the founders of the group.
Tell us how you got started with the Sweden Spring User Group.
The Sweden Spring User Group was [...]

Tags: ,