inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

173만명의 커뮤니티!! 함께 토론해봐요.

WebSecurityConfigurerAdapter deprecated

해결됨

Spring Boot JWT Tutorial

WebSecurityConfigurerAdapter 가 이제 더 이상 지원을 하지 않는다고 하여 WebSecurityFilterChain으로 하래서 시도중인데 계속하여 401 에러가 뜹니다... @EnableWebSecurity public class SecurityConfig { @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception{ http .authorizeRequests() .antMatchers("api/hello").permitAll() .anyRequest().authenticated(); return http.build(); } }

  • deprecated
  • spring-boot
  • websecurityconfig
  • jwt
Jeong-Woo Kang 댓글 4 좋아요 0 조회수 2465

인기 태그

인프런 TOP Writers

주간 인기글