refactor: 문서 개선 중

This commit is contained in:
donghyeon-ka
2026-09-21 14:30:55 +09:00
parent c93cdea150
commit 805a18f486
1497 changed files with 525837 additions and 59152 deletions
@@ -10,15 +10,15 @@ Spring Security 의 자동 구성은 세션을 서블릿 컨테이너 메모리
## Elements and evidence
- **브라우저 요청** (actor): 쿠키에 세션 id 를 담아 온다. Evidence: L326L331.
- **Application Session** (component): 누가 로그인했는지를 담는다. 세션 id 로 찾는다. Evidence: L335L341.
- **OAuth2AuthorizedClient** (component): access · refresh token 을 담는다. principal 이름으로 찾는다. Evidence: L335L341.
- **Redis** (datastore): 세션을 옮긴 곳. B-1 에서 여기까지는 옮겨졌다. Evidence: L347L351.
- **PostgreSQL** (datastore): 토큰을 옮긴 곳. B-2 에서 따로 옮겨야 했다. Evidence: L355L358.
- **브라우저 요청** (actor): 쿠키에 세션 id 를 담아 온다. Evidence: L719L722.
- **Application Session** (component): 누가 로그인했는지를 담는다. 세션 id 로 찾는다. Evidence: L727L732.
- **OAuth2AuthorizedClient** (component): access · refresh token 을 담는다. principal 이름으로 찾는다. Evidence: L727L732.
- **Redis** (datastore): 세션을 옮긴 곳. B-1 에서 여기까지는 옮겨졌다. Evidence: L744L747.
- **PostgreSQL** (datastore): 토큰을 옮긴 곳. B-2 에서 따로 옮겨야 했다. Evidence: L773L776.
## Relationships
- **OAuth2AuthorizedClient → PostgreSQL:** 저장. Evidence: L355L358.
- **브라우저 요청 → OAuth2AuthorizedClient:** 조회. Evidence: L332L341.
- **브라우저 요청 → Application Session:** 조회. Evidence: L326L331.
- **Application Session → Redis:** 저장. Evidence: L347L351.
- **OAuth2AuthorizedClient → PostgreSQL:** 저장. Evidence: L773L776.
- **브라우저 요청 → OAuth2AuthorizedClient:** 조회. Evidence: L725L732.
- **브라우저 요청 → Application Session:** 조회. Evidence: L719L722.
- **Application Session → Redis:** 저장. Evidence: L744L747.