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

Improve AD/LDAP caching with an ObjectChangeListener

    XMLWordPrintable

Details

    Description

      Using the ObjectChangeListener API from JNDI, on supported LDAP servers and Active Directory (the MS version definitely supports this at least), user and group objects that get modified should be used to either update the internal UserDetails/GroupDetails caches or to know which cache keys to evict if updating the cache from the event is too complicated. This will help balance the needs of caching performance with more accurate data.

      Attachments

        Activity

          jvz Matt Sicker added a comment -

          I'll note the changes introduced in JENKINS-55813 help alleviate some of the account data going out of date, though this can still be improved with a sort of localized cache of LDAP/AD as relevant events are sent.

          jvz Matt Sicker added a comment - I'll note the changes introduced in JENKINS-55813 help alleviate some of the account data going out of date, though this can still be improved with a sort of localized cache of LDAP/AD as relevant events are sent.

          People

            fbelzunc Félix Belzunce Arcos
            jvz Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: