Hello,
Watching my LDAP server logs I have observed requests where all of the
attributes are retrieved.
These requests are resource consuming...
This is due to the getObjet() method :
...
SearchControls controls = new SearchControls();
controls.setSearchScope( searchScope );
...
I have added :
controls.setReturningAttributes( descriptorAttributes );
to retrieve only attributes defined in the Domain.xml file.
Is it a bug or is it needed to retrieve all of the attributes ?
Regards,
Thomas
--
......oO( Thomas Bellembois )Oo......
CRI - University of Rennes 1 (France)
http://esup-portail.org
.....................................
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]