Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Example of spring secured vaadin application

branch: master

do not sue spring IOC

latest commit 237a9a8e8d
Eduard Neuwirt authored April 25, 2011
Octocat-spinner-32 src do not sue spring IOC April 25, 2011
Octocat-spinner-32 .gitignore initial commit April 25, 2011
Octocat-spinner-32 README initial commit April 25, 2011
Octocat-spinner-32 pom.xml initial commit April 25, 2011
README
Sample vaadin application that uses spring security as security provider. 
The authentication is done outside of the application. So the vaadin application does not provide any login functionality.

Possible next steps: Instantiate in applicationContext and call the secured service and check the authorization exceptions.

Maven
====================================================================================
- install maven 3
- execute command: mvn clean install
 
Tomcat
====================================================================================
- install Tomcat 7
- deploy war
- open in web browser the url http://localhost:8080/vaadin-spring-jsp/
- Login with one of the following users: 
  * admin with password admin, 
  * demo with password demo, 

Eclipse
====================================================================================
I used Helios Eclipse IDE for Java EE Developers
Recommended plugins:
- m2e
- m2e-extras (WTP plugin required only)
- Vaadin eclipse plugin

You can import the project via Maven->Existing Maven Projects.
Execute following operations:
- Maven->Update Dependencies
- Maven->Update Project Configuration
- RunAs->Maven Install
- Project->Clean
- Run As->Run on Server
Something went wrong with that request. Please try again.