Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55780

User property LastGrantedAuthoritiesProperty is not updated when LDAP user is login

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core, ldap-plugin
    • None
    • Ubuntu 16.04.5
      OpenJDK 1.8.0.191
      Jenkins 2.138.4
      LDAP plugin 1.20
      Role-based Authorization Strategy 2.9.0

      When a new user FIRST-TIME using LDAP credential to login,

      Jenkins will create

      <Jenkins_Install_DIR>/users/<USER_ID>/config.xml file,

      and update LastGrantedAuthoritiesProperty attribute with the current timestamp:

       
      <jenkins.security.LastGrantedAuthoritiesProperty>
      <roles>
      <string>authenticated</string>
      </roles>
      <timestamp>1548376473889</timestamp>
      </jenkins.security.LastGrantedAuthoritiesProperty>

       

      But any subsequent LDAP login,

      the timestamp of LastGrantedAuthoritiesProperty is not updated anymore.

       

       

       

       

       

            Unassigned Unassigned
            totoroliu Rick Liu
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: