Spring Security This is a demo of Spring Security. User details and roles are stored in Mysql database. Hibernate is being used as ORM through JPA.