inflearn logo
Course

Course

Instructor

Kang ho Lee's Posts

Kang ho Lee Kang ho Lee

@inth82042587

Students
-
Reviews
-
Course Rating
-

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

Likes
0
Comments
4
Viewcount
2467