UserDetails application using Spring Hibernate and Maven