inflearn logo
講義

講義

知識共有

Kang ho Leeさんの投稿

Kang ho Lee Kang ho Lee

@inth82042587

受講生
-
受講レビュー
-
講義評価
-

投稿 1

Q&A

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(); } }

いいね数
0
コメント数
4
閲覧数
2467