An open API service indexing awesome lists of open source software.

https://github.com/geowarin/spring-mvc-security

Simple example of spring security integration with spring mvc 3.2
https://github.com/geowarin/spring-mvc-security

Last synced: 17 days ago
JSON representation

Simple example of spring security integration with spring mvc 3.2

Awesome Lists containing this project

README

        

mvc-base
========

This project will allow you to start off on the good foot with spring MVC and spring security in a servlet 3.0 environment.

This project extends the mvc-base project by adding a few classes to demonstrate the use

It demonstrates the use of spring 3.2 Java Servlet container initialization, i.e, completely XML-less config (no application-context.xml, no web.xml).
http://static.springsource.org/spring-framework/docs/3.2.0.RELEASE/spring-framework-reference/html/mvc.html#mvc-container-config

Moreover, it provides default configuration for siteMesh, localized validation/messages, UTF-8 encoding filter and uses twitter-bootstrap for a responsive layout.

It includes a total of 5 classes (including tests and config) so don't be afraid it's really simple.

It is compatible with tomcat and jetty maven plugins.

Use
mvn tomcat7:run
or
mvn jetty:run

Some sample controller tests with spring-mvc-test are also provided.

See my blog : [http://geowarin.github.io/2013/01/23/complete-example-of-a-spring-mvc-3-2-project/](complete-example-of-a-spring-mvc-3-2-project)