이해할 때까지 설명하는 개발자
close
프로필 배경
프로필 로고

이해할 때까지 설명하는 개발자

  • 전체 (154) N
    • 단편 (30)
      • Java (22)
      • js (2)
      • scratch (4)
      • tistory (2)
    • 독서 (15)
      • extreme programming (1)
      • tidy first (13)
      • 소프트웨어 장인 (0)
    • 시리즈 (105) N
      • 나 혼자 떠드는 자바 (9)
      • Go (29)
      • Java online live study S01 (15)
      • Kubernetes (15)
      • Spring Security (22) N
      • Spring Web MVC (15)
    • 회고 (3)
    • Archive (1)
  • portfolio
  • naver-blog
  • linked-in
SecurityFilterChain 등록

SecurityFilterChain 등록

SecurityFilterChain 등록Spring Boot 에서 spring-boot-starter-security 의존성을 추가하면 기본적으로 DefaultSecurityFilterChain 이 자동으로 생성된다.기본 설정은 모든 요청을 인증해야 하며, form-based 로그인 페이지를 제공하는 방식 이다.개발자가 직접 SecurityFilterChain 을 등록하지 않으면 Spring Boot 의 SecurityAutoConfiguration 이 자동으로 적용 된다.SecurityFilterChain 을 등록하기 위해서는 SecurityFilterChain 을 리턴하는 @Bean 메소드를 등록 한다.import org.springframework.context.annotation.Bean;impo..

  • format_list_bulleted 시리즈/Spring Security
  • · 2025. 5. 2.
  • textsms
Spring Security 동작 원리 개요

Spring Security 동작 원리 개요

Spring Security 동작 원리 개요클라이언트의 요청은 WAS(Web Application Server / ex> tomcat) 의 filter 를 통과한 다음 Spring Container의 Controller에 도달한다.WAS 의 filter 에 새로운 filter 를 추가하여 요청을 가로챈다.가로챈 요청은 Spring Container 내부에 정의한 로직을 통과 한다.Spring Security 의 로직을 처리한 다음 다시 WAS 의 다음 filter 로 복귀하여 요청을 처리 한다.DelegatingFilterProxySpring Security 의 필터 체인을 WAS 의 Servlet Filter 로 등록하기 위한 Spring 제공 클래스 이다.WAS(Tomcat 등)에서 Delegatin..

  • format_list_bulleted 시리즈/Spring Security
  • · 2025. 5. 1.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • navigate_next
전체 카테고리
  • 전체 (154) N
    • 단편 (30)
      • Java (22)
      • js (2)
      • scratch (4)
      • tistory (2)
    • 독서 (15)
      • extreme programming (1)
      • tidy first (13)
      • 소프트웨어 장인 (0)
    • 시리즈 (105) N
      • 나 혼자 떠드는 자바 (9)
      • Go (29)
      • Java online live study S01 (15)
      • Kubernetes (15)
      • Spring Security (22) N
      • Spring Web MVC (15)
    • 회고 (3)
    • Archive (1)
최근 글
인기 글
태그
  • #language
  • #시큐리티
  • #Spring
  • #xp
  • #spring security
  • #java
  • #스프링시큐리티
  • #스프링
  • #자바
  • #go
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바