FilterChainProxy에 의해 이용되어지는Security Filter들.

FilterChainProxy가 현재 요청에 따라 어떤 Security Filter를 사용해야 하는지 결정해준다.

image.png

Security Filter Chain에 있는 Security Filter Bean들은 DelegatingFilterProxy가 아니라 FilterChainProxy에 의해 등록된다.

FilterChainProxy를 사용하는 이유.

  1. 시작 시점을 제공 - 트러블 슈팅 시 디버그 포인트가 될 수 있다.
  2. Spring Security 사용을 중심적으로 한다.
  3. 어떤 SecurityFilterChain을 사용해야 하는지에 대해 유동적이다. - 각각의 URL에 다른 SecurityFilterChain을 사용할 수 있다.

image.png