refactor: 문서 개선 중
This commit is contained in:
+9
-9
@@ -10,15 +10,15 @@ Spring Security 의 자동 구성은 세션을 서블릿 컨테이너 메모리
|
||||
|
||||
## Elements and evidence
|
||||
|
||||
- **브라우저 요청** (actor): 쿠키에 세션 id 를 담아 온다. Evidence: L326–L331.
|
||||
- **Application Session** (component): 누가 로그인했는지를 담는다. 세션 id 로 찾는다. Evidence: L335–L341.
|
||||
- **OAuth2AuthorizedClient** (component): access · refresh token 을 담는다. principal 이름으로 찾는다. Evidence: L335–L341.
|
||||
- **Redis** (datastore): 세션을 옮긴 곳. B-1 에서 여기까지는 옮겨졌다. Evidence: L347–L351.
|
||||
- **PostgreSQL** (datastore): 토큰을 옮긴 곳. B-2 에서 따로 옮겨야 했다. Evidence: L355–L358.
|
||||
- **브라우저 요청** (actor): 쿠키에 세션 id 를 담아 온다. Evidence: L719–L722.
|
||||
- **Application Session** (component): 누가 로그인했는지를 담는다. 세션 id 로 찾는다. Evidence: L727–L732.
|
||||
- **OAuth2AuthorizedClient** (component): access · refresh token 을 담는다. principal 이름으로 찾는다. Evidence: L727–L732.
|
||||
- **Redis** (datastore): 세션을 옮긴 곳. B-1 에서 여기까지는 옮겨졌다. Evidence: L744–L747.
|
||||
- **PostgreSQL** (datastore): 토큰을 옮긴 곳. B-2 에서 따로 옮겨야 했다. Evidence: L773–L776.
|
||||
|
||||
## Relationships
|
||||
|
||||
- **OAuth2AuthorizedClient → PostgreSQL:** 저장. Evidence: L355–L358.
|
||||
- **브라우저 요청 → OAuth2AuthorizedClient:** 조회. Evidence: L332–L341.
|
||||
- **브라우저 요청 → Application Session:** 조회. Evidence: L326–L331.
|
||||
- **Application Session → Redis:** 저장. Evidence: L347–L351.
|
||||
- **OAuth2AuthorizedClient → PostgreSQL:** 저장. Evidence: L773–L776.
|
||||
- **브라우저 요청 → OAuth2AuthorizedClient:** 조회. Evidence: L725–L732.
|
||||
- **브라우저 요청 → Application Session:** 조회. Evidence: L719–L722.
|
||||
- **Application Session → Redis:** 저장. Evidence: L744–L747.
|
||||
|
||||
Reference in New Issue
Block a user