inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

[Need Only One] 스터디 2일차(2021.07.03)

ellenlim02
0

스터디 진행 회차 및 일자

2회차(2021.07.03) 카톡 그룹콜 및 ZOOM 회의

스터디 참여자

전원 참여(김, 이, 박, 임)

스터디 주요 내용

1. Security에 앞서 Spring MVC 구조를 통한 전반적인 이해 및 학습

2. Security의 전반적인 구조 및 역할 정리

3. 작성했던 코드를 보며 확인

스터디에서 아직 해결하지 못했던 부분들

* 패스워드 암호화에 사용될 PasswordEncoder 구현체 지정

Security Config.java의 54번 줄 )

public void configure(AuthenticationManagerBuilder auth) throws Exception {                                     auth.userDetailsService(userDetails).passwordEncoder(passwordEncoder());}

의 원래 구조는 아래와 같다. 

@Override protected void configure(AuthenticationManagerBuilder auth) throws Exception {  auth.userDetailsService(userDetailsService).passwordEncoder(passwordEncoder()); } 

@Bean public PasswordEncoder passwordEncoder(){ return new BCryptPasswordEncoder(); }

출처: https://mangkyu.tistory.com/76 [MangKyu's Diary]

이에 대한 구조적인 이해 필요

다음번 스터디 주제

📌 Security 의 PasswordEncoder에 대한 추가적인 학습 및 공유

📌 Socket 통신

답변 0