]
Boleslaw Dawidowicz resolved JBPORTAL-2131.
-------------------------------------------
Resolution: Done
fixed
Set return attributes in LDAPExtRoleModuleImpl#searchRole to improve
performance
--------------------------------------------------------------------------------
Key: JBPORTAL-2131
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-2131
Project: JBoss Portal
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Portal Identity
Affects Versions: 2.6.6 Final
Reporter: Martin Putz
Assignee: Boleslaw Dawidowicz
Fix For: 2.6.7 Final
In the method searchRole in the class LDAPExtRoleModuleImpl the returning attributes for
the ldap search are not set. This means that it is returning all the dattribute data for
a group (member attribute, for instance, where there can me a huge amount of data). This
slows things up a lot.
As a performance enhancement suggestion the following should be added:
String[] retAttr = {getRidAttributeID(), getDisplayNameAttributeID()};
controls.setReturningAttributes(retAttr);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: