Using JdbcUserDetailsManager and Native UserDetailsService

I learned about Spring Security, and I do not fully understand if I should use the JdbcUserDetailsManager or the custom implementation of UserDetailsService . I use a database to store users.

I don’t understand what JdbcUserDetailsManager gives you, besides a lot of methods, which I’m not sure what I want to use? What if you have checks, etc.? Do you wrap it in your own implementation of UserDetailsService ?

I mean, would you skip this manager class in your application. Is it better to create your own?

+4
source share
1 answer

There are some differences:

Based on differences, this can affect how you decide what to use, expose, wrap, or even implement.

+3
source

All Articles