-
카테고리
-
세부 분야
백엔드
-
해결 여부
미해결
(해결완료)시큐리티 5.7버전부터 좀 달라져서 custom한 provider 주입이 어렵습니다
22.06.20 18:32 작성 조회수 319
0
강의 내용처럼 코드는 짜면서 5.7이상버전에 맞게로 하려니..
에러발생하는데
강의 내용처럼은 할 수 가 없습니다 ㅜㅜ
---
(해결완료)
dao하나 bean등록해서 매니저빌더 통해 설정해주었습니다
AuthenticationManagerBuilder authenticationManagerBuilder = http.getSharedObject(AuthenticationManagerBuilder.class);
authenticationManagerBuilder.authenticationProvider(daoAuthenticationProvider());
답변을 작성해보세요.
답변 2