강의

멘토링

커뮤니티

Inflearn Community Q&A

kms920106's profile image
kms920106

asked

Spring Security

8) Authentication add-ons - WebAuthenticationDetails, AuthenticationDetailsSource

(해결완료) FormAuthenticationProvider 클래스가 이전에 작성했던 CustomAuthenticationProvider 클래스였네요;

Resolved

Written on

·

377

11

1. 클래스명 CustomAuthenticationProvider ->  FormAuthenticationProvider 변경되었습니다.

2. class 위에 @Slf4j 애노테이션이 추가되었습니다.
3. public FormAuthenticationProvider 생성자가 추가되었습니다.

4. authenticate 메서드 위에 @Transactional이 추가되었습니다.

다른분들은 저처럼 혼란스러워서 저번 강의 다시 보시지 않기를..

----------------------------------------------------------

5. SecurityConfig 클래스에 authenticationProvider 메서드에 passwordEncoder() 매개변수가 추가되었습니다.

Spring Securityspring-bootjava

Answer 1

1

감사합니다.

kms920106's profile image
kms920106

asked

Ask a question