Adding Spring Security with Roo 1.1.5

Continuing with the previous example, let’s add security to the application. In the Roo Shell, I type:

security setup

Files created or updated:

Created META-INF/spring/applicationContext-security.xml Created views/login.jspx Updated WEB-INF/views/views.xml Updated pom.xml Updated WEB-INF/web.xml Updated WEB-INF/spring/webmvc-config.xml

New dependencies added:

spring-security-core 3.0.5.RELEASE spring-security-config 3.0.5.RELEASE spring-security-web 3.0.5.RELEASE spring-security-taglibs 3.0.5.RELEASE

In pom.xml I change the property spring-security.version to 3.1.0.RELEASE.

. . . → Read More: Adding Spring Security with Roo 1.1.5

Examining what Spring Roo 1.1.5 creates

Roo is Heaven and Hell.

Heaven is in the demos. It looks great, you can do a basic web application with Java in minutes!

Hell, when confronted with real world problems, and with bugs, but hey, I’ve not given up on it yet, it’s great to set up the basic project structure, and . . . → Read More: Examining what Spring Roo 1.1.5 creates