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