Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@msoderstr
Copy link
Contributor

Closes #44438

@msoderstr msoderstr requested a review from a team as a code owner November 25, 2025 08:55
Signed-off-by: Alexander Schwartz <[email protected]>
Copy link
Contributor

@ahus1 ahus1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this fix and the test case. I slightly updated it to use double-locking with a volatile.

Looking at the exception, I also found why this was happening, as the instance variable was filled too early after it wasn't yet fully initialized.

@ahus1 ahus1 enabled auto-merge (squash) November 25, 2025 11:52
@ahus1
Copy link
Contributor

ahus1 commented Nov 25, 2025

cc: @keycloak/core-clients for visibility - I'll take care of a backport.

Copy link
Contributor

@rmartinc rmartinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @msoderstr for the PR! LGTM!

@ahus1 ahus1 merged commit b57c0d2 into keycloak:main Nov 25, 2025
82 checks passed
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.

Intermittent ConcurrentModificationException during SAML initialization causing status code 400 for clients

3 participants