Spring Security-MVC-REST template
This is a working template project, which show cases a sample multi-tier Spring web application and RESTful services based on Spring IoC, Seurity and MVC; with a JQuery/Ajax/Bootstrap based frontend. It demostrates how to use Spring MVC to create RESTful services, and at the same time keeping a clean separation between the Controllers and REST resources.
This template can easily be extended into a fully functional Spring web application.
- Clone this project, git clone git://github.com/kamranzafar/spring-security-mvc-rest.git
- Update the security.xml file to provide your username and password (default is kamran/password)
- Build the war file with maven, mvn clean compile war:war
- Deploy on Tomcat.
After this you can login to the application from the browser (http://localhost:8080/spring-mvc-rest) using the given username and password.