O'Reilly logo

Spring Security 3.x Cookbook by Anjana Mankale

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Spring Security with Vaadin – customized JSP form-based authentication

So far we have demonstrated the Vaadin 7 application with the Spring Security API login form and login pop up dialog box. All that we did was create users in the application context file.

This time we will give a different name to the application context and give it a customized login form and use the Vaadin 6 project.

Getting ready

  • Create a sample Vaadin 6 project
  • Add the Spring related jars in the build path
  • Add the Spring Security related jars
  • Add the vaadin-spring-security.xml file
  • Add the mybeans.xml file
  • Edit the web.xml file as shown in the previous section
  • Also add the Spring related jars in the web-inf lib folder

How to do it...

The following steps are for implementing a form-based ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required