[jboss-jira] [JBoss JIRA] Resolved: (JBPORTAL-2131) Set return attributes in LDAPExtRoleModuleImpl#searchRole to improve performance

Boleslaw Dawidowicz (JIRA) jira-events at lists.jboss.org
Fri Sep 26 10:07:21 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBPORTAL-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list