Simple webapp with JPA UserDetailsService
and @EnableGlobalMethodSecurity
.
Despite SEC-2661 it is possible to use JPA for user details. But there are many people strugglng with it on Stackoverflow, so this project might help figure out what is causing their problem.