강의

멘토링

로드맵

Inflearn Community Q&A

slasnrndu4468's profile image
slasnrndu4468

asked

Spring Security Complete Mastery [6.x Revised Edition]

SecurityContextRepository / SecurityContextHolderFilter - 1

SecurityContextHolderFilter 흐름도 질문있습니다

Resolved

Written on

·

192

0

한번 인증을 완료 했다면 세션에 컨텍스트를 저장하기 때문에

컨텍스트 홀더에 있는 컨텍스트를 삭제해도

클라이언트가 요청시 SecurityContext 존재하는가? 에 대한 대답이 Y인 걸까요?

springspring-bootspring-securitysecurityweb-security

Answer 1

1

leaven님의 프로필 이미지
leaven
Instructor

네 맞습니다

클라이언트가 요청을 다시 하더라도 세션에 컨텍스트가 존재한다면 새션으로부터 컨텍스트를 꺼내어 컨텍스트 홀더에 다시 담기 때문에 컨텍스트는 항상 유지됩니다

gogo님의 프로필 이미지
gogo
Questioner

감사합니다~

slasnrndu4468's profile image
slasnrndu4468

asked

Ask a question