| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- Session Fixation Protection
- HttpRequestMethodNotSupportedException
- Java
- Spring
- SpringCloudConfig
- 1260
- 14891
- 백준
- ConcurrentSessionControlAuthenticationStrategy
- RestControllerAdvice
- openTelemetry
- AWS
- self-hosted runners
- Spring Security
- 프로그래머스
- 자바
- Value annotation
- aws-mysql-jdbc
- tailsamplingprocessor
- RequiredArgsConstructor
- 14889
- github actions
- github
- 17144
- Spring Authorization Server
- Session Registry
- amazon-ecr-login
- 1916
- 15686
- 12100
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