행운개발자의 기술블로그

  • 홈
  • 행운개발자
  • 개발
  • 모니터링
  • 마음가짐

DEV/Spring Security 2

Spring Security Authentication 아키텍처

Servlet Authentication Architecture Authentication과 AuthenticationManager Servlet Authentication Architecture에 대해서는 공식 도큐먼트의 마지막에 있는 그림을 먼저 보고 시작해야 이해가 잘 됩니다. Servlet Authentication Architecture의 시작은 Spring Security Architecture에서 보았던 SecurityFilterChain에서부터 시작합니다. SecurityFilterChain 안에 AbstractAuthenticationProcessingFilter가 포함되어 있고, 많이 사용하는 UsernamePasswordAuthenticationFilter는 이 추상 클래스를 상속받은..

DEV/Spring Security 2024.01.30

Spring Security 아키텍처

Filter Spring Security는 Sevlet Filter에서 동작함 Servlet Filter를 먼저 확인해야 함 Client → FilterChain FilterChain = Filter + Servlet 요청을 받으면 서블릿 컨테이너에서 Filter, Servlet을 포함하고 있는 FilterChain을 생성 위 그림에서 Servlet은 DispatcherServlet HttpServletRequest의 URI에 의해서 처리됨 Filter의 역할 다음 차례의 Filter, Serlvet이 동작하는 것을 막고 HttpServletResponse에 응답을 씀 HttpServletRequest, HttpServletResponse를 변경하여 다음 차례의 FilterChain에서 변경된 사항을 사..

DEV/Spring Security 2024.01.30
이전
1
다음
더보기
프로필사진

백엔드 기술과 개발자 커리어를 쌓아가는 마음가짐을 이야기합니다.

  • 분류 전체보기 (104)
    • 행운개발자 (4)
    • DEV (68)
      • OS (6)
      • System Design (10)
      • Hexagonal Architecture (10)
      • INSIGHT (5)
      • Spring Security (2)
      • Spring Data JPA (16)
      • JAVA (3)
      • Spring MVC (2)
      • ElasticSearch & Lucene (5)
      • Data Platform (7)
    • MONITORING (7)
      • Log Monitoring (4)
      • Troubleshooting (3)
    • DB (11)
      • MySQL (9)
      • H2 (1)
      • JDBC (1)
    • AWS (10)
      • AWS Marketplace (10)
    • 마음가짐 (2)
    • ----이하 정리 중인 카테고리--- (0)
    • 개발일지 (2)
      • SPRING-WEB (1)
      • SPRING-SECURITY (0)
      • SPRING-TEST (0)
      • Thymeleaf (1)

최근글과 인기글

  • 최근글
  • 인기글

방문자수Total

  • Today :
  • Yesterday :
250x250
Email Github Linkedin

Copyright © Kakao Corp. All rights reserved.

티스토리툴바