Skip to content

Document DaoAuthenticationProvider timing-attack mitigation - #19533

Open
AzazelSensei wants to merge 1 commit into
spring-projects:mainfrom
AzazelSensei:docs/timing-attack-mitigation
Open

Document DaoAuthenticationProvider timing-attack mitigation#19533
AzazelSensei wants to merge 1 commit into
spring-projects:mainfrom
AzazelSensei:docs/timing-attack-mitigation

Conversation

@AzazelSensei

Copy link
Copy Markdown

Document that DaoAuthenticationProvider mitigates username-enumeration timing attacks on the user-not-found path by performing equivalent password-encoding work, and note the limitation when mixed PasswordEncoder / hash algorithms are in use.

Changes are aligned with the current retrieveUser / mitigateAgainstTimingAttack implementation.

Closes #19082

Note the user-not-found dummy PasswordEncoder path and the mixed-hash
limitation in the DaoAuthenticationProvider and exploits docs.

Closes spring-projectsgh-19082

Signed-off-by: Abdullah <AzazelSensei@users.noreply.github.com>
@AzazelSensei
AzazelSensei force-pushed the docs/timing-attack-mitigation branch from 50e6b65 to 5b2f5ba Compare August 12, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document Timing Attack Mitigation Support

2 participants