• 티스토리 홈
starryeye
  • 프로필사진
    starryeye
    • 분류 전체보기 (189)
      • C++ (17)
      • Java (24)
      • OOP (5)
      • Spring Reactive Stack (12)
        • Reactive Streams (3)
        • Netty (4)
        • Reactor (1)
        • Webflux (3)
        • DB, Cache 연동 (1)
      • Spring (90)
        • Core (17)
        • MVC (33)
        • Client (2)
        • Security (4)
        • DB, Cache 연동 (33)
      • DataBase (12)
        • RDBMS (2)
        • NoSQL (10)
      • Message Broker (6)
      • Web (4)
      • Network (4)
      • 대규모 시스템 설계 (15)
  • 방문자 수
    • 전체:
    • 오늘:
    • 어제:
  • 최근 댓글
      등록된 댓글이 없습니다.
    • 최근 공지
        등록된 공지가 없습니다.
      # Home
      # 공지사항
      #
      # 태그
      # 검색결과
      # 방명록
      • 포스트글 썸네일 이미지
        Spring Security 초기화 - DelegatingFilterProxy, FilterChainProxy, SecurityFilterChain, WebSecurity
        starryeye:
        지난 포스팅에서HttpSecurity(SecurityBuilder) 로 SecurityConfigurer 를 이용하여다양한 Servlet Filter 를 포함하는 SecurityFilterChain 을 생성하는 과정을 알아보았다. 이번엔..SecurityBuilder 의 또다른 구현체인 WebSecurity 에 대해 알아보겠다.  WebSecurity위 코드는 WebSecurityConfiguration 클래스 중 일부이다.this.securityFilterChains, this.httpSecurity 필드는WebSecurityConfiguration 객체에서 의존성 주입을 받은 것이다.따라서, WebSecurity 는 이전 포스팅에서 봤던 SecurityFilterChain, HttpSecurity 를..
        • 2025-01-28 21:13:10
      • 포스트글 썸네일 이미지
        Spring Security 초기화 - HttpSecurity, SecurityConfigurer, SecurityFilterChain
        starryeye:
        Spring Security 는 요청에 대한 인증, 인가 처리를 Servlet Filter 를 통해 수행한다.해당 Servlet Filter 를 만드는 초기화 과정 및 아키텍처를 알아보겠다.  SecurityBuilderSecurityBuilder 는 ...빌더 클래스로 Security 처리와 설정을 담당하는 빈 객체들을 생성하는 역할을 담당한다.대표적으로 WebSecurity 와 HttpSecurity 가 있다.  HttpSecurity위는 HttpSecurityConfiguration 클래스에 존재하는 HttpSecurity 빈 등록 코드이다.HttpSecurity 객체는 spring boot auto configuration 에 의해 자동으로 등록되는 빈인 것을 알 수 있다.scope 은 싱글톤이 ..
        • 2025-01-28 18:39:22
      • 포스트글 썸네일 이미지
        Spring Security 초기화 - 의존성에 의한 자동 구성
        starryeye:
        org.springframework.boot:spring-boot-starter-security 의존성을 추가하면Spring boot auto configuration 에 의해 설정되는 사항들에 대해 알아보겠다.  위는 SpringBootWebSecurityConfiguration.class 에 존재하는 SecurityFilteChainConfiguration 클래스 코드이다.SecurityFilterChain 타입의 빈을 등록시키고 있으며- 모든 요청에 대해 인증을 요구하고 formLogin, httpBasic 인증 방법을 지원하도록 한다. 따라서, org.springframework.boot:spring-boot-starter-security 의존성을 추가만 해도SecurityFilterChain 타..
        • 2025-01-28 18:34:55
      • Spring Security 소개
        starryeye:
        Spring 에서 제공하는 Spring security 에 대해 알아보자. Spring Security 공식 문서https://docs.spring.io/spring-security/reference/index.html Spring Security :: Spring SecurityIf you are ready to start securing an application see the Getting Started sections for servlet and reactive. These sections will walk you through creating your first Spring Security applications. If you want to understand how Spring Security..
        • 2025-01-28 17:54:28
      조회된 결과가 없습니다.
      [1]
      스킨 업데이트 안내
      현재 이용하고 계신 스킨의 버전보다 더 높은 최신 버전이 감지 되었습니다. 최신버전 스킨 파일을 다운로드 받을 수 있는 페이지로 이동하시겠습니까?
      ("아니오" 를 선택할 시 30일 동안 최신 버전이 감지되어도 모달 창이 표시되지 않습니다.)
      목차
      표시할 목차가 없습니다.
        • 안녕하세요
        • 감사해요
        • 잘있어요

        티스토리툴바