Skip to content
  • Kohsuke Kawaguchi's avatar
    [JENKINS-20064] · 0e339d7a
    Kohsuke Kawaguchi authored
    Jenkins now remembers the authorities (read group memberships) that the user had carried when he/she last time interactively logged in.
    This information is exposed via User.impersonate(), which is used when using Jenkins SSH, Jenkins CLI, or access via API tokens.
    
    Previously this was impossible for a subset of SecurityRealms that does not allow us to read group membership information without
    successful login (such as Active Directory, OpenID, etc.)
    
    For security reasons, if the backend determines that the user does not exist (as opposed to the backend who cannot tell if the user
    exists or not), then the impersonation will fail.
    
    I need to check AD plugin is reporting a failure correctly in this case, before marking as JENKINS-20064 fixed.
    0e339d7a
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading