최종 변경 : 2024.04.05
SecurityFilterChain은 스프링 시큐리티의 보안, 인증/인가와 같은 주요 로직을 담당한다.
하나의 SecurityFilterChain 내부에 N개의 필터를 구성하여 각각의 필터가 하나의 로직 (로그아웃, 로그인, 인가, 등등) 수행의 시작점이 된다.
filterChainProxy의 break point 활용
4강에서 진행한 filterChainProxy 클래스의 getFilters() 메소드를 break point를 걸어 debug 모드로 실행하는 방법.
@EnableWebecurity debug 모드 설정
@Configuration
@EnableWebSecurity(debug = true)
public class SecurityConfig {
}