-
Bug
-
Resolution: Duplicate
-
Minor
-
None
loadUserByUsername has some issues that I can see.
GithubAuthenticationToken authToken = (GithubAuthenticationToken) SecurityContextHolder.getContext().getAuthentication(); failes with class cast exception when an anonymous user is accessing. It should throw a UserNotFoundException for anonymous users I believe.
Also, possibly when the github token has timed out and is invalid, the plugin does not redo the login. I'm pretty sure its failing in loadUserByUsername but I'm not totally sure. Will update if I find out.
- duplicates
-
JENKINS-34775 Broken jobs after upgrade to 1.651.2 security update
-
- Resolved
-
Nvm i was looking at wrong source code, it looks like that has been fixed... trying to figure out why we are setting this issue.