Spring Security JPA UserDetailsService This is a simple example of how to use Spring Security with a JPA UserDetailsService.