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 [...]
Load-time weaving, Spring and Maven.
December 15th, 2009 by Mattias Ask — Java, Tips & Tricks
Tags: frameworks, javaagent, load-time weaving, ltw, maven, spring
Referential Integrity using Spring LDAP
December 7th, 2009 by Vlado Palczynski — Java
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: open source, programming, referential integrity, spring, spring ldap
Spring Security For Real with Grails
November 23rd, 2009 by Mattias Hellborg Arthursson — Java, Tips & Tricks
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: grails, security, spring, spring security, web
Spring and load-time weaving of Neo4j-based domain objects
May 26th, 2009 by Mattias Ask — Architecture, Java
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: aop, ddd, frameworks, neo4j, programming, spring
Simple Authentication Using Spring LDAP
February 2nd, 2009 by Mattias Hellborg Arthursson — Java
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: 1.3.0, authentication, bind, howto, ldap, security, spring, spring ldap, tutorial
Devoxx highlights
December 23rd, 2008 by Jacob Mattsson — Agile, Events, Java
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: bdd, concurrency, conference, frameworks, spring, spring dm
Encrypting Properties With Jasypt
December 9th, 2008 by Ulrik Sandberg — Java, Tips & Tricks
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: properties, security, spring, tools
What’s New in Spring LDAP 1.3
October 27th, 2008 by Mattias Hellborg Arthursson — Java
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: authentication, spring, spring ldap, tls
Testing Among the Clouds, Part 2
October 20th, 2008 by Mattias Hellborg Arthursson — Cloud, Java, Testing
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: automated testing, ec2, junit, spring, spring ldap, tdd, typica
Spring Remoting with Security and SSL
September 30th, 2008 by Mattias Hellborg Arthursson — Java
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: security, spring, spring remoting, spring security, ssl
Testing Among the Clouds
September 11th, 2008 by Mattias Hellborg Arthursson — Cloud, Java, Testing
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: automated testing, continuous integration, ec2, junit, spring, spring ldap, tdd, typica
Sweden Spring UG Birth of a new UG
May 1st, 2007 by Ulrik Sandberg — Events
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: spring, user group
