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, [...]
Spring Security For Real with Grails
November 23rd, 2009 by Mattias Hellborg Arthursson — Java, Tips & Tricks
Tags: grails, security, spring, spring security, web
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
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
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 [...]
Tags: security, spring, spring remoting, spring security, ssl
A cool GMail feature
January 3rd, 2007 by Ulrik Sandberg — Tips & Tricks
Google Mail will deliver a mail even though the recipient address ends with ‘+’ and some more text, like john.doe+msn@gmail.com for example. This feature can be used to create an unlimited number of mail addresses that can be used for registration purposes. For example, say that the MSN web site requires your email address for [...]
