8000 SSF: Honor pairwise subject identifier mappers of SSF receiver clients in SET subjects by thomasdarimont · Pull Request #55823 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

SSF: Honor pairwise subject identifier mappers of SSF receiver clients in SET subjects - #55823

Draft
thomasdarimont wants to merge 1 commit into
keycloak:mainfrom
thomasdarimont:gh55812-ssf-honor-pairwise-sub
Draft

thomasdarimont wants to merge 1 commit into
keycloak:mainfrom
thomasdarimont:gh55812-ssf-honor-pairwise-sub

Conversation

@thomasdarimont
Copy link
Copy Markdown
Contributor

A receiver client with a pairwise subject identifier mapper now receives the pairwise sub instead of the internal user ID in iss_sub and opaque user subjects, for native and emitted events. The rewrite runs at delivery time, so the subject gates keep working on the internal user ID.

The rewrite works on copies, via the new copy() methods on SsfSecurityEventToken and ComplexSubjectId, so the original token is never modified.

Closes #55812

…s in SET subjects

A receiver client with a pairwise subject identifier mapper now receives the pairwise sub instead of the internal user ID in iss_sub and opaque user subjects, for native and emitted events. The rewrite runs at delivery time, so the subject gates keep working on the internal user ID.

The rewrite works on copies, via the new copy() methods on SsfSecurityEventToken and ComplexSubjectId, so the original token is never modified.

Closes keycloak#55812

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSF: Honor pairwise subject identifier mappers of SSF receiver clients in SET subject identifiers

1 participant

0