Skip to content
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

Improved error message for PasswordEncoder #14968

Conversation

bottlerocketjonny
Copy link
Contributor

I fear I might have been too slow to submit this! However, this closes gh-14880

Happy to make any changes.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 26, 2024
@jzheaux
Copy link
Contributor

jzheaux commented Apr 26, 2024

Hi, @bottlerocketjonny! Yes, we already received another PR for the same and I think it is a nice improvement. That said, if you'd like, please rebase once that is merged and push any other changes you'd like to see to this PR, and we can take a look together.

@bottlerocketjonny
Copy link
Contributor Author

Hi, @bottlerocketjonny! Yes, we already received another PR for the same and I think it is a nice improvement. That said, if you'd like, please rebase once that is merged and push any other changes you'd like to see to this PR, and we can take a look together.

No worries! Yeah sure thing I shall do that 👍🏻

Just for future reference, if I wanted to work on an issue should I wait to be assigned or just go for it? I left a comment on this one but wasn't sure if that was the way to go. Cheers 😀

@jzheaux
Copy link
Contributor

jzheaux commented May 21, 2024

@bottlerocketjonny, it's certainly better when I'm on top of folks' comments in tickets so that there isn't confusion. :) Sorry that you and the other contributor ended up working on the same feature.

It's rare for two people to contribute near the same time, so we don't have a stated policy. Mostly, it's a best effort on my part to notice the comment, assign the issue to that person, and in the absence of that, attend to the first submitted PR.

In your case, I'm happy that there were good ideas in both PRs, so I'd still encourage you to rebase.

@bottlerocketjonny bottlerocketjonny force-pushed the improved-error-message-password-encoder branch from e161962 to 7e29776 Compare May 25, 2024 11:42
Copy link
Contributor

@jzheaux jzheaux left a comment

Choose a reason for hiding this comment

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

Thanks for the updates, @bottlerocketjonny! I've left some feedback inline.

Also, will you please update your commit message to include the ticket #14880 like so:

Your Title

Issue gh-14880

That will link this work to that ticket in GitHub, making it easier to track in the future.

@jzheaux jzheaux self-assigned this May 31, 2024
@jzheaux jzheaux added in: crypto An issue in spring-security-crypto type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels May 31, 2024
@bottlerocketjonny
Copy link
Contributor Author

@jzheaux Oh gosh, so sorry I completely missed that you'd replied here. I'll get this sorted ASAP so we can close this issue.

@bottlerocketjonny
Copy link
Contributor Author

@jzheaux I've just pushed some new commits that I think are an improvement - let me know if anything else needs changing and apologies again for my tardiness! :)

@jzheaux jzheaux force-pushed the improved-error-message-password-encoder branch from 76af19a to 0dca793 Compare September 17, 2024 01:33
@jzheaux jzheaux added this to the 6.4.0-RC1 milestone Sep 17, 2024
@jzheaux jzheaux merged commit b90851d into spring-projects:main Sep 17, 2024
6 checks passed
@jzheaux
Copy link
Contributor

jzheaux commented Sep 17, 2024

Thanks, @bottlerocketjonny! This is now merged into main.

@bottlerocketjonny
Copy link
Contributor Author

Thanks, @bottlerocketjonny! This is now merged into main.

Excellent! Thanks for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: crypto An issue in spring-security-crypto type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InMemoryUserDetailsManager: consider improving the error message when no PasswordEncoding has been specified
3 participants