Hello everyone, We wrote a new filter to integrate Jenkins with our own enterprise user system. The filter is very simple, if the user already existed, the log in; if not, create a new user.
The filter worked well until someone said he could not log into Jenkins. We saw the log and found that log said the user already existed so the system did not create the user. In fact it was the first time the user used Jenkins. I did a reaserch and found I used the function getAll() in class User to get all users list. But the function returned the list of People instead, so the users in People list but not in user list cannot log into. I read the code of Jenkins but it is too complex for me to understand. :( At last, I wrote a simple function to read the folder Jenkins_Home/users and get the users list. I donot think this is a good solution. I believe there must be a function to get User list but not People list, so would someone could tell me which function it is. Thanks. <JiraJenkinsIntegration/>
