Skip to content

An example application demonstrating how to use Spring Security in a Vaadin application

Notifications You must be signed in to change notification settings

jmu/SpringSecurityDemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Security & Vaadin Demo Application
=========================================

What is this application?

	The purpose of this application is to demonstrate how Spring Security can be used
	to secure web applications with Vaadin-based user interfaces. It also demonstrates
	how said applications can be localized using the localization features of Spring.
	
	Originally, the application was written for an article published on the Vaadin Wiki:
	http://vaadin.com/wiki/-/wiki/Main/Vaadin%20and%20Spring%20Security
	
Getting the source code

	The source code of this application is hosted on GitHub. If you do not have Git, you can
	download it from http://git-scm.com. When you are done, you can checkout the source by
	issuing the command:
	
	$ git clone http://github.com/peholmst/SpringSecurityDemo.git
	
Trying out the demo application

	Make sure you have JDK 6 and Maven 2.2. If not, you can download them from http://java.sun.com
	and http://maven.apache.org, respectively.
	
	Fire up the embedded Jetty server by issuing the command:
	
	$ mvn jetty:run
	
	Then, point your favorite browser to http://localhost:8080/springsecuritydemo and start
	exploring the application.
	
Editing the source code in Eclipse

	There are two (mutually exclusive) ways of importing the source code into Eclipse:
	
	1. Use the M2Eclipse plugin ( http://m2eclipse.sonatype.org ) and import the project
	   as a Maven project.
	   
	2. Ask Maven to generate the Eclipse project files for you by issuing the command:
	   
	   $ mvn eclipse:eclipse
		
	   Then import the project into your workspace. You will probably received some warnings about
	   classpath entries that will not be exported or published. You can ignore them, or manually
	   edit the project properties to remove them completely.
	   
Editing the source code in NetBeans

	NetBeans has built-in support for Maven, so all you have to do is open the project as
	any other project.

Credits
	
	Some parts of the application are based on the SpringApplication example 
	( http://dev.vaadin.com/browser/incubator/SpringApplication ) by Petri Hakala.
	
	The icons used are taken from the Silk icons theme ( http://www.famfamfam.com/lab/icons/silk/ ).
	

About

An example application demonstrating how to use Spring Security in a Vaadin application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%