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 – basic authentication

Our aim is to do a simple basic authentication on the Vaadin application. I want a login dialog to pop up when we access the URL of the Vaadin application. I have created a simple product catalog application which looks very similar to the address book.

Getting ready

  • Set up Vaadin application on Eclipse:

    For this chapter we will demonstrate Spring Security integration with both the Vaadin versions (Vaadin 6 and Vaadin 7).

    • Create a Vaadin web project in Eclipse with Vaadin 7—this will generate a default application with a click button which we will modify.
    • Run the application on the Tomcat server.
  • Create an applicationContext.xml file. It is ...

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