-
Bug
-
Resolution: Unresolved
-
Major
Attaching log from https://ci.jenkins.io/job/Core/job/jenkins/job/PR-2750/1/consoleText, a failed PR build from stephenconnolly during a time when rtyler was working to restore LDAP service from Jenkins. This build apparently only failed because UserIDCanonicalIdResolver catches declared exceptions but not the BadCredentialsException it actually got.
- links to
[JENKINS-42030] BadCredentialsException improperly thrown out of loadUserByUsername
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "PR 12 (Web Link)" [ 15449 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/hudson/security/LDAPSecurityRealm.java
http://jenkins-ci.org/commit/ldap-plugin/7000c0915e8aea058f2f951075542217a32734eb
Log:
[FIXED JENKINS-42030] If searchForUser fails with BadCredentialsException, wrap in a type we are allowed to throw.