inflearn logo
Khóa học

Khóa học

Chia sẻ kiến thức

Bài viết của Kang ho Lee

Kang ho Lee Kang ho Lee

@inth82042587

Học viên
-
Đánh giá khóa học
-
Đánh giá khóa học
-

Bài viết 1

Hỏi & Đáp

WebSecurityConfigurerAdapter deprecated

그리고 antMatchers도 deprecated 되어서 밑에와 같은 방식으로 해주시면 진행 될거에요. @Configuration @EnableWebSecurity public class SecurityConfig { @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http .authorizeHttpRequests() .requestMatchers("/api/hello").permitAll() .anyRequest().authenticated(); return http.build(); } }

Lượt thích
0
Số bình luận
4
Lượt xem
2467