WEB/Security
Lesson 3 - UserDetailsManager and PasswordEncoder
Tony Lim
2022. 5. 5. 15:54
728x90
in order to use proper encryption we need to have a way to add user to database
userDetailsManager implements userDetailService and has more feature like createUser
in this case we are using what spring gave us, and it has it's query hard coded inside class
if request come through /user we just permit all so we can add user to repository
otherwise do the authentication
728x90