Hi Thomas,

I do not know, I am too new to Slide.

I would recommend creating another bugzilla entry for this issue. Do a search 
in Bugzilla first in the open bugs on slide to determine whether someone has 
already had the same idea.

If there is already a bug report covering this issue, you can add yourself as 
CC on the bug report and also add a comment of the type "I support this bug 
report" or attach a patch for the problem if there is no patch yet ...

Adding testcases is also good.

Also, precising the "mission statement" of the methods that you want to change 
in the Javadoc is good. Like adding a line saying "this method will retrieve 
only the attributes defined in Domain.xml, because the other attributes are not 
used at runtime".

If it turns out afterwards that we need another method which picks up all 
attributes, we can add it.

Regards,

Antoine


-------- Original-Nachricht --------
Datum: Wed, 25 Oct 2006 16:57:50 +0200
Von: Thomas Bellembois <[EMAIL PROTECTED]>
An: Slide Developers Mailing List <slide-dev@jakarta.apache.org>
Betreff: JNDIPrincipalStore getObject() method bug ?

> 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
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to