Files
document-haness/docs/keycloak/final/assets/bearer-jwt-validation-chain/bearer-jwt-validation-chain.mmd
T

19 lines
653 B
Plaintext

%% Bearer JWT가 검증과 역할 변환을 지나 principal이 된다
%% question: Resource Server가 받은 Bearer JWT는 어떤 검증과 변환 단계를 지나 authenticated principal이 되는가?
flowchart TB
n0["Bearer JWT"]
n1["NimbusJwtDecoder"]
n2["Issuer · Time validators"]
n3["AudienceValidator"]
n4["Validated Jwt"]
n5["Realm role converter"]
n6(["Authenticated principal"])
n0 -->|"decode"| n1
n1 -->|"signature ok"| n2
n2 -->|"claims"| n3
n3 -->|"valid audience"| n4
n4 -->|"realm roles"| n5
n5 -->|"authorities"| n6
classDef external stroke-dasharray: 6 4
class n6 external