The keycloak project ended with four open questions that design could not
settle. A two-VM lab was built to answer them by measurement, and this is
that material: 26 experiments, 125 raw command outputs, 22 browser captures.
Follows the import procedure in README.md.
source/ the originating repository verbatim — 78 documents, 28 SVGs,
8 manifests, plus .source-revision recording the commit
final/ the SSOT
document.md 729 lines written from the 29 experiment documents, not
concatenated: what was predicted, what was measured, and
where the measurement itself was wrong
evidence/raw 125 outputs, flattened to <experiment>__<file> because
the originals collided (01-baseline.txt appeared three
times) and the audit only globs the top level
evidence/meta one per raw file; command and exitCode are null and the
README says why rather than inventing them
evidence/browser 22 captures
assets/ three diagrams through techviz
.techviz/ their VizSpecs
A separate project rather than an addition to keycloak: the B-layer answers
that project's four questions, but the A, C and D layers are about cluster
failure, SSO and operations, and one document.md should hold one subject.
The four question records there can point here through 관계.
Recorded rather than papered over: only three of the 28 diagrams were
remade. The repository forbids hand-drawn SVG and forbids titles inside the
canvas; all 28 originals carry both, so converting them is redrawing, not
reformatting. They stay in source/ and the gap is written into the document.
verify-pipeline.py passes. audit-records.py reports no issues.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
63 lines
2.8 KiB
Markdown
63 lines
2.8 KiB
Markdown
---
|
|
kind: CONCEPT
|
|
slug: messaging-security-c02
|
|
title: 이 리프는 messaging family에서 배선이 가장 잘 된 축이다
|
|
topic: composition-and-lifecycle-models
|
|
project: clean-architecture-backend-template
|
|
status: 게시 전
|
|
sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916
|
|
rootTreeNode: concept:messaging-security-c02
|
|
evidenceCapturedOn: 2026-09-01
|
|
assets:
|
|
- key: messaging-security-c02
|
|
file: ../../../final/evidence/rendered/messaging-security-c02.svg
|
|
evidence:
|
|
- ../../../final/evidence/raw/messaging-security-c02.txt
|
|
source:
|
|
- 원본 분석 절은 analysis/messaging/messaging-security.md#L91 이다.
|
|
module: messaging-security
|
|
---
|
|
|
|
# 이 리프는 messaging family에서 배선이 가장 잘 된 축이다
|
|
|
|
들어오는 것은 `messaging-core-api` 하나이고 나가는 것은 일곱이다. 어댑터 두 곳이 직접 소비하고, 이 리프 자체는 Spring 주석을 갖지 않는다.
|
|
|
|
## 관계
|
|
|
|
- **배선된 게이트는 자기 leaf 레인에서 검증한다**
|
|
같은 분석 리프에서 끌어낸 규칙이다.
|
|
- **같은 술어가 두 타입에 있으면 하나가 다른 하나를 부른다**
|
|
같은 분석 리프에서 끌어낸 규칙이다.
|
|
- **가변 필드로 상태 전이를 표현하면 가시성을 함께 정한다**
|
|
같은 분석 리프에서 끌어낸 규칙이다.
|
|
- **맵 갱신 함수 안에서 I/O를 하면 그 지연이 락 범위가 된다**
|
|
같은 분석 리프에서 끌어낸 규칙이다.
|
|
|
|
## 본문
|
|
|
|
<!-- body:start -->
|
|
|
|
들어오는 것: `messaging-core-api`(api) 하나. 나가는 것: `messaging-runtime-core`, `messaging-kafka`, `messaging-rabbit`, `messaging-admin-runtime`, `messaging-pulsar-experimental`, `messaging-nats-experimental`, `messaging-spring-boot-starter`.
|
|
|
|
## 실제로 소비하는 곳
|
|
|
|
| 소비자 | 무엇을 쓰는가 |
|
|
|---|---|
|
|
| `messaging-kafka/KafkaSecurityConfigurer` | `BrokerTlsPolicy`, `CredentialRuntimeRegistry`, `CredentialProvider` |
|
|
| `messaging-rabbit/RabbitSecurityConfigurer` | `BrokerTlsPolicy`, `CredentialRuntimeRegistry` |
|
|
| `messaging-runtime-core/DefaultMessagePublisher` | `DestinationAccessPolicy` |
|
|
| `messaging-runtime-core/DeclaredDestinationAccess` | `DestinationAccessPolicy` |
|
|
| starter `MessagingCoreAutoConfiguration` | `MessageSecurityValidator`·`BrokerTlsPolicy`·`CredentialRuntimeRegistry` bean |
|
|
| starter `MessagingCredentialRequirementValidator` | `CredentialProvider` |
|
|
|
|
## 이 기록이 다루는 파일 범위
|
|
|
|
:::evidence key="messaging-security-c02" alt="코드베이스에서 파일 목록을 만든 출력 12줄. 이 기록이 다루는 범위가 그 목록이다." caption="코드베이스 파일 목록 — 12줄 · exit 0" zoom="true"
|
|
:::
|
|
|
|
## 리프 자체는 프레임워크를 모른다
|
|
|
|
이 leaf 자체는 Spring 주석을 갖지 않는다. 배선은 전부 소비자 쪽에서 이루어진다.
|
|
|
|
<!-- body:end -->
|