[QUESTION] Do we have to implement UserDetails and UserDetailsService

preview_player
Показать описание
The question I will answer in this video is related to the main contracts in Spring Security: UserDetails and UserDetailsService.
Do we have to always implement them, or only when working with JPA / Hibernate / Spring Data? Why are they not implemented in the example that is using JdbcUserDetailsManager?
Рекомендации по теме
Комментарии
Автор

Thanks for the video! So in 9/10 situations we need implement userdetails in entity?

kazbowski
Автор

I still dont understand spring security and ive been doing it for like 5 months now

pt_trainer