DaoAuthenticationProvider « JPA « Spring Q&A





1. Best practice in providing your own DaoAuthenticationProvider with Hibernate    forum.springsource.org

Best practice in providing your own DaoAuthenticationProvider with Hibernate I was wandering about what the best practice should be when implementing your own DaoAuthenticationProvider with Hibernate as persistence engine. In my ...

2. NPE in DaoAuthenticationProvider.additionalAuthentication Checks when using JPA    forum.springsource.org

I solved this with the following change. AFAICT, JPA hadn't saved the user in the database yet, so Acegi wasn't finding it. The new code is likely better because it doesn't ...