Details
-
Bug
-
Resolution: Answered
-
Medium
-
None
-
5.9.7, 5.13.0.1, 5.14.3.1
-
Severity 3 - Minor
-
Description
Summary
Group Administration page does not read the data from the LDAP cache
Steps to Reproduce
- Configure Bamboo ehcache.xml to enable LDAP cache
- Configure Bamboo to use LDAP
- 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 ]