-
Notifications
You must be signed in to change notification settings - Fork 48
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
[JENKINS-74842] ClassCastException
in ReverseProxySecurityRealm#loadGroupByGroupname2
#153
Conversation
…adGroupByGroupname2`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems harmless, though I would expect any bug like this to be reproducible in tests, perhaps some extension to
Lines 103 to 104 in d99619b
String leelaEmail = MailAddressResolver.resolve(j.jenkins.getUser("leela")); | |
assertEquals("[email protected]", leelaEmail); |
Thanks, Jesse! Out of curiosity, why was this plugin not adapted to Spring Security as part of the Acegi removal project? |
A good question. At this point I do not really remember. It would have made sense to follow up #40 analogously to jenkinsci/ldap-plugin#49. |
Just as it would have made sense to write a test for this bug. 🤷♂️ |
@sboardwell Could this please be released? |
@basil I can do it this weekend. Travelling at the moment and the internet is not the best. |
@sboardwell FYI if you set up https://www.jenkins.io/doc/developer/publishing/releasing-cd/ you can trigger a release from your phone (unless of course you need to do manual testing first). |
I was going to do that as well at some point. How long does it take to set up approximately? I might do that and then release. |
Generally not long. If you like, I could file a PR for this repo which you could review & approve. I think I have physical permissions to merge here, probably for historical reasons. |
That would be great if you have the time. |
@sboardwell OK please review jenkins-infra/repository-permissions-updater#4177 + #154 |
Sprinkling
SetContextClassLoader
in yet another place hoping that this fixes JENKINS-74842.Testing done
None