2. 스프링 시큐리티 설정
스프링 시큐리티/책 내용 정리2023. 4. 16. 13:37
책의 2. 스프링 시큐리티 설정의 내용
SecurityConfig.java
@Configuration
@EnableWebSecurity
@Slf4j
public class SecurityConfig {
@Bean
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
log.info("security config...");
http.formLogin();
return http.build();
}
}
반응형
'스프링 시큐리티 > 책 내용 정리' 카테고리의 다른 글
6. 사용자 정의 접근 거부 처리자 (0) | 2023.04.30 |
---|---|
5. 접근 거부 처리 (0) | 2023.04.22 |
4. 로그인 처리 (0) | 2023.04.16 |
3. 접근 제한 설정 (0) | 2023.04.16 |
1. 책 내용 정리 (0) | 2023.04.16 |
댓글()