Spring Security Demo App
Based on this Udemy course by Chad Darby
Usage
- Setup Postgres and Tomcat 7 locally or via Docker, check docker-spring-stack to get the full stack up quickly
- Ensure Tomcat manager is running on http://localhost:8080/manager, manager username must be
tomcat
, passwordtomcat
- Create a database
springsec
, initialise it with the provided schema - Deploy project into Tomcat via Maven:
mvn clean tomcat7:redeploy
- Login with one of the test users, e.g.
plato
, password istest123
for all of them - Add/update users as you like, use this bcrypt calculator to generate passwords