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