Repository navigation
Deprecate in-memory login failures and make persistent login failures the default #52128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
pedroigor
merged 37 commits into
keycloak:main
from
ahus1:is-52126-persistent-login-failures
Sep 9, 2026
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
d34ed26
Deprecate in-memory login failures and make persistent login failures…
ahus1 cc9b305
Fixing tests
ahus1 3aaaf12
Fixing tests
ahus1 d63933f
Optimize performance for successful login path
ahus1 f4096aa
Fix test that breaks on H2
ahus1 f015d94
Ensure that data is written to the database before returning, otherwi…
ahus1 a0a3a6c
Fixing test as we're now expiring
ahus1 0c376af
Fixing test
ahus1 8264543
Adding this test as it triggers brute force detection
ahus1 242cdab
Run more stateless tests in the CI on each database
ahus1 93c7326
Extend the database dialects to support the "on conflict"
ahus1 cd97db7
Fix MERGE emulation for HQL queries without explicit conflict columns
ahus1 06aff0e
Fixing failing test
ahus1 32aab4c
Fixing concurrency deadlocks
ahus1 21f6680
Extending the upgrading guide
ahus1 995eee6
Fixing model tests and integration tests
ahus1 2452944
Fixing tests
ahus1 562ab7a
Created an upstream issue to see that it will be included in upstream…
ahus1 b2fca8c
Stabilizing the test
ahus1 1edfe0e
Guidance for Galera cluster
ahus1 b434eff
Refactoring docs
ahus1 5d9bbc5
Refactoring and code cleanup
ahus1 70d9dcc
Adding a comment to explain the why
ahus1 04c3d8c
Updating the brute force protector
ahus1 e2f3cb2
Reworking locking for brute force detection
ahus1 375b877
Do the work within a single SQL connection
ahus1 beac47b
Apply batched suggestions from code review
ahus1 8f0d885
Addressing review comments
ahus1 09a4ebd
Require a shutown first when changing the login failure feature.
ahus1 2d5da51
Updating the rationale why DefaultLockingBruteForceProtector is needed
ahus1 d96c7f7
Apply batched suggestions from code review
ahus1 013a6a5
Fixing test
ahus1 00c3c60
Update model/infinispan/src/main/java/org/keycloak/connections/infini…
ahus1 1283034
Update entity retrieval with pessimistic locking
ahus1 82053bc
Addressing another round of copilot changes
ahus1 02e145c
Addressing another round of copilot changes
ahus1 0d1ba24
Addressing another round of copilot changes
ahus1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.