1. build.gradle dependency 추가
2. SecurityConfig 설정
3. 실 구현부에 BCryptPasswordEncoder를 구현하여 암호화
2번 밑줄이 실제 Dto의 암호화 처리 과정
4. 호출과 결과
'MSA' 카테고리의 다른 글
15. JWT 적용하기 (0) | 2022.12.03 |
---|---|
14. 다른 MicroService 만들기 (0) | 2022.11.29 |
12. h2 database 연결하여 서비스 띄우기 (0) | 2022.11.28 |
11. Spring Cloud Gateway Load Balancer 설정하기 (0) | 2022.11.28 |
10. Spring Cloud Gateway와 Eureka 연동하기 (0) | 2022.11.27 |