인프런 커뮤니티 질문&답변
WebSecurityConfigurerAdapter deprecated 이후
작성
·
2.7K
0
안녕하세요, 먼저 좋은 강의 너무 감사합니다.
스프링 버전이 업데이트 되면서 WebSecurityConfigurerAdapter가 deprecated 되었습니다.
그래서
new JwtAuthenticationFilter(authenticationManager()))
하는 부분에서
이제 WebSecurityConfigurerAdapter를 extend하지 않게 되어
authenticationManager()를 바로 호출할 수 없게 됐습니다.
이 부분 어떻게 수정해야할지 알려주시면 감사하겠습니다.
퀴즈
67%나 틀려요. 한번 도전해보세요!
JWT(JSON Web Token)의 세 가지 주요 구성 요소는 무엇일까요?
헤더, 클레임, 암호
헤더, 페이로드, 서명
사용자 ID, 비밀번호, 토큰
알고리즘, 타입, 시크릿 값






수정된 코드 감사합니당!