Bug 65479 - PasswordValidationCallback does not return validation result in getResult
Summary: PasswordValidationCallback does not return validation result in getResult
Alias: None
Product: Tomcat 10
Classification: Unclassified
Component: Authentication (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal (vote)
Target Milestone: ------
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2021-08-02 09:26 UTC by Robert Rodewald
Modified: 2021-08-17 11:55 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Robert Rodewald 2021-08-02 09:26:22 UTC
The specification requires that the validation result must be returned in the getResult Method of the PasswordValidationCallback. This is currently not the case.
Comment 1 Robert Rodewald 2021-08-02 09:33:56 UTC
I just created a pull request with a bugfix for this.

It's a simple one-liner.

Shall I create pull requests for the other branches as well or is there a better way?
Comment 2 Mark Thomas 2021-08-02 10:54:37 UTC
No need for additional PRs. The committers will backport as necessary.
Comment 3 Mark Thomas 2021-08-17 11:55:54 UTC
Thanks for the report and the PR. And extra thanks for including a test case.

Fixed in:
- 10.1.x for 10.1.0-M5 onwards
- 10.0.x for 10.0.11 onwards
- 9.0.x for 9.0.53 onwards
- 8.5.x for 8.5.71 onwards