일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- SpringCloudConfig
- AWS
- aws-mysql-jdbc
- Session Fixation Protection
- Value annotation
- 자바
- Spring
- 14891
- RestControllerAdvice
- Session Registry
- 14889
- Spring Security
- Java
- RequiredArgsConstructor
- github
- ConcurrentSessionControlAuthenticationStrategy
- 백준
- Spring Authorization Server
- github actions
- 1916
- HttpRequestMethodNotSupportedException
- 프로그래머스
- 1260
- 15686
- tailsamplingprocessor
- 17144
- amazon-ecr-login
- 12100
- self-hosted runners
- openTelemetry
Archives
- Today
- Total
한울이
[SPRING] Session 본문
1. Servlet session
1-1. session 이 없을 때
RequestFacade.java
Connector.java/Request
ManagerBase.java
1-2. session 있을 때
Connect.java/Request
2. Spring session with redis
2-1. session 없을 때
SpringHttpSessionConfiguration.java
- SessionRepositoryFilter 등록
SessionRepositoryFilter.java
SessionRepositryRequsetWrapper 생성
RedisIndexedSessionRepository.java
SessionRepositoryFilter.java (이 부분은 session 있을 때 / 없을 때 둘다 적용 - 세션 저장)
SessionRepositoryFilter.java/SessionRepositryRequestWrapper
RedisIndexedSessionRepository.java
2-2. session 있을 때
SessionRepositoryFilter.java
RedisIndexedSessionRepository.java
RedisSessionMapper.java (시간 증가)
'PROGRAMMING' 카테고리의 다른 글
[SPRING] Spring Authorization Server Default Session Registry (0) | 2023.07.31 |
---|---|
[SPRING] ConcurrentSessionControlAuthenticationStrategy session expire 실패 (0) | 2023.03.26 |
[SPRING] k8s cronjob + Spring Batch (0) | 2022.08.21 |
[SPRING] Lombok @RequiredArgsConstructor @Qualifier (0) | 2022.08.21 |
[SPRING] @RestControllerAdvice can not handle HttpRequestMethodNotSupportedException (0) | 2022.08.21 |
Comments