-
카테고리
-
세부 분야
백엔드
-
해결 여부
미해결
WebSecurityConfigurerAdapter deprecated 이후
22.07.03 18:05 작성 조회수 2.26k
0
안녕하세요, 먼저 좋은 강의 너무 감사합니다.
스프링 버전이 업데이트 되면서 WebSecurityConfigurerAdapter가 deprecated 되었습니다.
그래서
new JwtAuthenticationFilter(authenticationManager()))
하는 부분에서
이제 WebSecurityConfigurerAdapter를 extend하지 않게 되어
authenticationManager()를 바로 호출할 수 없게 됐습니다.
이 부분 어떻게 수정해야할지 알려주시면 감사하겠습니다.
답변을 작성해보세요.
5
최주호
지식공유자2022.07.16
수정된 코드를 제가 따로 올려두었습니다.
https://github.com/codingspecialist/Springboot-Security-JWT-Easy/tree/version2
0
답변 2