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>
53 lines
2.3 KiB
Markdown
53 lines
2.3 KiB
Markdown
---
|
|
kind: REFERENCE
|
|
slug: messaging-security-f07
|
|
title: 배선된 게이트는 자기 leaf 레인에서 검증한다
|
|
topic: runtime-reachability-and-composition
|
|
project: clean-architecture-backend-template
|
|
status: 게시 전
|
|
sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916
|
|
rootTreeNode: reference:messaging-security-f07
|
|
verifiedOn: # 이 기록은 이번 회차에 실행 확인을 하지 않았다
|
|
source:
|
|
- analysis/messaging/messaging-security.md#L688
|
|
---
|
|
|
|
# 배선된 게이트는 자기 leaf 레인에서 검증한다
|
|
|
|
## 관계
|
|
|
|
- **종료 시 자격증명 소거가 호출되지 않는다**
|
|
이 규칙의 근거는 같은 분석 리프의 판정이 소유한다.
|
|
- **같은 TLS posture를 두 클래스가 다른 엄격도로 검사한다**
|
|
이 규칙의 근거는 같은 분석 리프의 판정이 소유한다.
|
|
- **권한 거부가 `AUTHORIZATION`이 아니라 `CONFIGURATION`으로 기록된다**
|
|
이 규칙의 근거는 같은 분석 리프의 판정이 소유한다.
|
|
|
|
## 목적
|
|
|
|
BrokerTlsPolicy 는 실제로 배선된 클래스다 — 어댑터 둘이 호출한다. 그 네 거절 조건과 허용목록 판정이 이 leaf 의 레인에서 검증되지 않는다. 어댑터 테스트가 간접적으로 지나가더라도 그것은 다른 목표를 가진 레인이다.
|
|
|
|
## 규칙
|
|
|
|
1. leaf 의 타입 중 테스트에 이름이 없는 것을 센다
|
|
다섯이다. BrokerTlsPolicy · BrokerAclManifest · DestinationAccessPolicy · DestinationAccessValidator · BrokerCredentialProfile.
|
|
|
|
2. 그중 실제 호출자가 있는 것을 먼저 고른다
|
|
배선되지 않은 타입의 미검증과 배선된 게이트의 미검증은 무게가 다르다.
|
|
|
|
3. 거절 조건과 경계를 겨냥한 테스트를 자기 레인에 둔다
|
|
BrokerTlsPolicy 의 네 거절 조건과 허용·거부 경계가 그 대상이다.
|
|
|
|
## 적용 조건
|
|
|
|
보안·승인 판정을 수행하고 다른 leaf 가 호출하는 모든 게이트 클래스.
|
|
|
|
## 예외
|
|
|
|
다른 레인이 그 게이트를 명시적 목표로 검증하고 그 사실이 기록돼 있으면 예외가 될 수 있다. 어댑터 테스트는 그 조건을 만족하지 않는다.
|
|
|
|
## 예시
|
|
|
|
세 테스트 클래스 전수. 확인 방법은 find src/test -name '*Test.java' 가 셋을 돌려준다는 것이다.
|
|
|