Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-5241

DN cache is never enabled since OPENAM-3822

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0.2, 12.0.0
    • Fix Version/s: 11.0.3, 12.0.1, 13.0.0
    • Component/s: idrepo
    • Labels:
    • Sprint:
      Sprint 76 - Sustaining
    • Support Ticket IDs:

      Description

      Cache is never used as the local variable hides the class attribute

      Line 195

      DJLDAPv3Repo.java
      boolean dnCacheEnabled = CollectionHelper.getBooleanMapAttr(configMap, LDAP_DNCACHE_ENABLED, true);
              if (dnCacheEnabled) {
                  dnCache = new Cache(CollectionHelper.getIntMapAttr(configParams, LDAP_DNCACHE_SIZE, 1500, DEBUG));
              }
      

      Should be

      DJLDAPv3Repo.java
       
      this.dnCacheEnabled = CollectionHelper.getBooleanMapAttr(configMap, LDAP_DNCACHE_ENABLED, true);
              if (dnCacheEnabled) {
                  dnCache = new Cache(CollectionHelper.getIntMapAttr(configParams, LDAP_DNCACHE_SIZE, 1500, DEBUG));
              }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markdr Mark de Reeper
                Reporter:
                quentin.castel Quentin CASTEL [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: