csrf

· Spring Boot
1. Spring Security 환경 설정@Configuration@EnableWebSecurity@RequiredArgsConstructorpublic class SecurityConfig { @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception{ http.authorizeHttpRequests((auth) -> auth .requestMatchers("/", "/home").permitAll() .anyRequest().authenticated() ); http .form..
공대생안씨
'csrf' 태그의 글 목록