Mason

  • 홈
  • 태그
  • 방명록

OncePerRequestFilter 1

SecurityContextHolder

Spring Security의 인증부분을 공부하던 도중 SecurityContextHolder에 관해 의문점이 생겨 포스트를 작성하게 되었다. SecurityContextHolder는 위와 같이 Spring Security에서 UsernamePasswordAuthenticationFilter에서 인증작업을 모두 마친 후 UserPasswordAuthenticationToken을 SecurityContextHolder에 담아 보관하게 된다. 하지만 공부 도중 실습단계에서 구현한 코드에는 해당 내용을 찾을 수 없엇다. 대신 OncePerRequestFilter를 상속받는 또 다른 Filter에서 SecurityContextHolder를 찾을 수 있었다. public class JwtVerificationFi..

Personal Research 2023.05.18
이전
1
다음
더보기
프로필사진

Mason

  • 분류 전체보기 (140)
    • Projects (19)
      • Personal project - 게시판 만들기 (9)
      • Team project - 스택오버플로우 클론코딩 (3)
      • Team project - ShellWe (7)
    • Personal Research (5)
    • Java (52)
      • Java (25)
      • Spring & Spring Boot (20)
      • Spring Security (7)
      • Spring WebFlux (0)
    • DB (5)
    • Javascript (9)
    • Nodejs (6)
    • Typescript (4)
    • Datastructure & Algorithm (16)
    • Coding Test Practice (9)
    • Basics of Computer Science .. (7)
    • Deployment (2)
    • Docker (0)
    • Linux Ubuntu (2)
    • Git and Github (2)
    • IntelliJ (1)
    • CS & Interview (1)

Tag

GraphQL, 비동기, SecurityContextHolder, Enum, Thread, 스레드, 객체지향 프로그래밍, annotation, 재귀, JPA, optional, OOP, mysql, sql, apollo, UsernamePasswordAuthenticationToken, typescript, DB, transaction, 동기,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바