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





