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

1. 문제상황 조건 똑같은 계정으로 로그인 시도 하는 부하테스트 spring security maximum session 10으로 설정 부하 테스트 도중 session을 expire 시킬 수 없다는 log 가 찍힘 2. debugging spring security 는 ConcurrentSessionControlAuthenticationStrategy 에서 동일한 유저의 maximunm session 을 처리함 session registry를 통해 모든 session을 가져온 후 maximum session count 확인 (SpringSessionBackedSessionRegistry 사용중) 만약 설정한 maximum session count 를 초과하면 가장 오래된 session을 만료시킴 (spr..
PROGRAMMING
2023. 3. 26. 15:50