Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4758

Issues with LDAP caching

XMLWordPrintable

    • 6.3 Sprint 1 (4-Jan->29-Jan)

      Recently, the LDAPCache class was added to the LDAPLoginModule. There are several known issues with this code.

      1) The cache is not cleared when the LDAPLoginModule is reloaded. The LDAPLoginModule class has an initialize() method where the cache should be cleared. Not clearing the cache when the configuration for the LDAPLoginModule is changed leaves stale data in the cache.

      2) I can't see a way to disable the cache. Setting the cache time to live to zero has no effect. (I may just be setting the time to live incorrectly).

      3) The cache does not listen to change events from the LDAP server. This leaves stale entries in the cache when the ldap server is updated. The SimpleCachedLDAPAuthorizationMap used in active-mq registers these listeners.

            g_nodet Guillaume Nodet (Inactive)
            rhn-support-dgrove Doug Grove (Inactive)
            Josef Ludvicek Josef Ludvicek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: