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
'WEB > Security' 카테고리의 다른 글
Lesson 5 - The filter chain (0) | 2022.05.05 |
---|---|
Lesson 4 - The AuthenticationProvider (0) | 2022.05.05 |
Lesson 2 - Implementing the UserDetailsService (0) | 2022.05.05 |
Lesson 1 - The basic contracts in Spring Security architecture (0) | 2022.05.05 |
Transport Layer Security, TLS 1.2 and 1.3 (0) | 2022.02.06 |