This is the most basic sample web application for Spring Security.
I've migrated it from Gradle to Maven, because I could not compile it with Gradle, and I didn't receive any response in the forum at the time of writing this.
Additional useful links:
- Spring Security Tutorial description and other resources
- Spring security full source code, including this sample application (without my modifications)
- GitHub page containing this source code
- Changes made to mavenize the project
Easy way to start the test application:
$ mvn jetty:run
or
$ mvn tomcat:run
The 'scripts' directory contains simple Unix command-line scripts for exercising the application and displaying the results. In 'src/main/resources/log4j.properties', I've set a logging level of DEBUG, for Spring Security. It contains a lot of information and should be disabled in production because it may contain sensitive information.