Architecture :: Spring Security

Servlet container의 생명주기와 Spring ApplicationContext 사이를 이어줌.

ApplicationContext 내의 빈을 불러와 필터로 적용.

스프링 컨테이너가 시작하기 전에 필터를 등록시켜줌.

(필터 - bean들의 로직을 사용.)

However, Spring typically uses a ContextLoaderListener to load the Spring Beans, which is not done until after the Filter instances need to be registered.

image.png