Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-11498

Replace JLDAPDirectoryProvider internal cache with a centrally-managed cache

    XMLWordPrintable

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5.0, trunk
    • Fix Version/s: 2.7.2, 2.8.0
    • Component/s: Providers
    • Labels:
      None
    • CLE Team Issue:
      Yes

      Description

      Currently, JLDAPDirectoryProvider implements its own crude cache as follows:

      private Map<String,LdapUserData> userCache =
      Collections.synchronizedMap(new HashMap<String,LdapUserData>());

      This would be better implemented as a centrally managed cache similar to that recently added to the UserDirectoryService (SAK-9860).

        Gliffy Diagrams

          Attachments

          1. JLDAPprovider-cache-tweaks-patch.txt
            6 kB
          2. SAK-11498.patch
            9 kB
          3. SAK-11498-trunk.patch
            9 kB
          4. SMvsCHM.png
            0.4 kB

            Issue Links

              Activity

                People

                • Assignee:
                  buckett Matthew Buckett
                  Reporter:
                  dmccallum Daniel McCallum
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code