Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-1737: Provide JPA-based UserDetailsService & UserDetailsManager abstract implementations #1973

spring-issuemaster opened this Issue May 10, 2011 · 1 comment


None yet
1 participant

Matthew T. Adams (Migrated from SEC-1737) said:

Sometimes it's handy to have a JPA-based UserDetailsService or UserDetailsManager instead of a JDBC-based one. The attached classes are abstract classes that do the boilerplate work of the UserDetailsService & UserDetailsManager implementation, defining abstract methods for subclasses to implement for the user's specific entities that represent users & groups.

Contributing since I considered it helpful, and I figured others might like to have it. It does introduce a dependency on JPA, so should probably go into some kind of separate contrib module outside of core.

Hope you likey.

Matthew T. Adams said:

Just noticed JpaUserDetailsManager.java should probably be in the package org.springframework.security.provisioning to align with JdbcUserDetailsManager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment