DelegatingFilterProxy와 FilterChainProxy

이승민·2022년 10월 16일


DelegatingFilterProxy

  • 일반적인 서블릿 필터
  • 서블릿 필터 처리를 스프링에 들어있는 빈으로 위힘하고 싶을 때 사용하는 서블릿 필터
  • 타겟 빈 이름을 설정하낟.
  • 스프링 부트 없이 스프링 시큐리티 설정할 때는 AbstractSecurityWebApplicationInitializer를 사용해서 등록
  • 스프링 부트를 사용할 때는 자동으로 등록된다(SecurityFilterAutoConfiguration)

FilterChainProxy

  • 보통 springSecurityFilterChain이라는 이름의 빈으로 등록된다.
profile
💻 끊임없이 성장하는 백엔드 개발자 💻

0개의 댓글