Administration Group page does not load data from the LDAP cache

XMLWordPrintable

    • Severity 3 - Minor

      Summary

      Group Administration page does not read the data from the LDAP cache

      Steps to Reproduce

      1. Configure Bamboo ehcache.xml to enable LDAP cache
      2. Configure Bamboo to use LDAP
      3. Access Administration Groups page

      Expected Results

      The page will load with data from the LDAP cache

      Actual Results

      If there are too many users/groups, the page will take a lot of time to load
      Enabling debug logging for "com.atlassian.user" will show the following in the atlassian-bamboo.log file:

      2016-09-08 20:08:06,823 INFO [http-nio-8085-exec-8] [AccessLogFilter] kahloun.foong GET http://localhost:8085/admin/group/viewGroups.action 556609kb
      2016-09-08 20:08:06,888 DEBUG [http-nio-8085-exec-8] [LDAPStaticGroupAdaptor] Searching for groups using base name space:ou=groups,DC=example,DC=com and encoded filter (&(objectClass=groupOfUniqueNames)(objectClass=groupOfUniqueNames))
      2016-09-08 20:08:06,890 DEBUG [http-nio-8085-exec-8] [LDAPStaticGroupAdaptor] found at least one group
      2016-09-08 20:08:06,892 INFO [http-nio-8085-exec-8] [DefaultActionInvocation] Using doBrowse() instead of browse on browseGroups
      2016-09-08 20:08:06,899 DEBUG [http-nio-8085-exec-8] [LDAPStaticGroupAdaptor] Searching for groups using base name space:ou=groups,DC=example,DC=com and encoded filter (&(objectClass=groupOfUniqueNames)(&(cn=bamboo-admin)(objectClass=groupOfUniqueNames)))
      2016-09-08 20:08:06,901 DEBUG [http-nio-8085-exec-8] [LDAPStaticGroupAdaptor] found at least one group
      2016-09-08 20:08:06,903 DEBUG [http-nio-8085-exec-8] [LDAPMembershipToUsernamePager] LDAPMembershipToUse.findByDN [ uid=test,ou=users,dc=example,dc=com ] username [ test ]
      2016-09-08 20:08:06,906 DEBUG [http-nio-8085-exec-8] [LDAPStaticGroupAdaptor] Searching for groups using base name space:ou=groups,DC=example,DC=com and encoded filter (&(objectClass=groupOfUniqueNames)(&(cn=Administrators)(objectClass=groupOfUniqueNames)))
      2016-09-08 20:08:06,908 DEBUG [http-nio-8085-exec-8] [LDAPStaticGroupAdaptor] found at least one group
      2016-09-08 20:08:06,910 DEBUG [http-nio-8085-exec-8] [LDAPMembershipToUsernamePager] LDAPMembershipToUse.findByDN [ uid=admin,ou=users,dc=example,dc=com ] username [ admin ]
      2016-09-08 20:08:06,911 DEBUG [http-nio-8085-exec-8] [LDAPMembershipToUsernamePager] LDAPMembershipToUse.findByDN [ uid=test2,ou=users,dc=example,dc=com ] username [ test2 ]
      2016-09-08 20:08:06,912 DEBUG [http-nio-8085-exec-8] [LDAPMembershipToUsernamePager] LDAPMembershipToUse.findByDN [ uid=test3,ou=users,dc=example,dc=com ] username [ test3 ]
      

        1. atlassian-user-custom.xml
          1 kB
        2. ehcache.xml
          8 kB

            Assignee:
            Krystian Brazulewicz
            Reporter:
            Foong (Inactive)
            Votes:
            8 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: