인프런 커뮤니티 질문&답변
(해결완료)시큐리티 5.7버전부터 좀 달라져서 custom한 provider 주입이 어렵습니다
작성
·
394
0
강의 내용처럼 코드는 짜면서 5.7이상버전에 맞게로 하려니..
에러발생하는데
강의 내용처럼은 할 수 가 없습니다 ㅜㅜ
---
(해결완료)
dao하나 bean등록해서 매니저빌더 통해 설정해주었습니다
AuthenticationManagerBuilder authenticationManagerBuilder = http.getSharedObject(AuthenticationManagerBuilder.class);
authenticationManagerBuilder.authenticationProvider(daoAuthenticationProvider());




