Spring Security part I : Configuration & Security Chain

In this series of articles we’ll dig into the Spring Security framework.

Spring Security can be considered as a flexible and portable security manager. It is a real alternative to built-in security manager available on many application servers.

All transversal tasks related to security management (login, logout, authentication, authorization …) usually handled by the application server can be delegated to Spring Security. It helps decoupling the application logic & security management from the proprietary security implementation provided by different JEE application servers.

Read more of this post

Advertisements

Spring @Transactional explained

Spring is a widely used framework today, bringing many powerfull features and extensions to the Java core stack. However most of people tend to use these features without understanding their underlying mechanism.

Since there is no “magic” in real life, we are going to dig into some Spring features related to Transaction and Database in this serie of articles.

This first article is dealing with the famous @Transactional annotation, saving the developers the burden of managing low level transaction code.
Read more of this post

Spring AOP advices on setters not trigged

A few days ago I had to enhance some text value injected into one of my bean


<bean id="myBean">
<property name="featureName" value="${global.properties.feature.name}" />
</bean>

The idea was to modify the injected “feature” value with an @Around AOP poincut:
Read more of this post