This is an example web application with Spring Security configured using Java configuration. You can start the web application with mvn tomcat7:run. Try to access http://localhost:8080/secret.html to ensure it works.