• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

WebSecurityConfigurerAdapter deprecated 이후

22.07.03 18:05 작성 조회수 2.26k

0

안녕하세요, 먼저 좋은 강의 너무 감사합니다.

스프링 버전이 업데이트 되면서 WebSecurityConfigurerAdapter가 deprecated 되었습니다.

그래서

new JwtAuthenticationFilter(authenticationManager()))

하는 부분에서

이제 WebSecurityConfigurerAdapter를 extend하지 않게 되어

authenticationManager()를 바로 호출할 수 없게 됐습니다.

 

이 부분 어떻게 수정해야할지 알려주시면 감사하겠습니다.

답변 2

·

답변을 작성해보세요.

5

수정된 코드를 제가 따로 올려두었습니다.

https://github.com/codingspecialist/Springboot-Security-JWT-Easy/tree/version2

myoungjinkang님의 프로필

myoungjinkang

2022.12.29

수정된 코드 감사합니당!

0

백엔드님의 프로필

백엔드

2022.11.03

수정된 코드 너무감사합니다! 강의 잘보고있어요!