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 – using Vaadin form

So far we have used the customized JSP page or the Spring-provided login pop up box or the jsp file. We have also demonstrated Spring Security integration with both Vaadin 6 and Vaadin 7. So I was tempted to provide a complete Vaadin with Spring Security implementation. Let's create a Vaadin form and we will integrate it with Spring Security.

Getting ready

  • Create a Vaadin 7 project in your Eclipse IDE
  • Create a MyLoginView class that extends the panel
  • Create a SecuredView class that extends the panel
  • Create a MyVaadinServlet class that extends VaadinServlet
  • Create a VaadinRequestHolder class
  • Configure the web.xml file
  • Edit the applicationContext.xml file
  • Implement the View interface for the panel classes

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