Re: LDAP subsearch bug

"Jacques Morel" <[email protected]> Thu, 15 Mar 2007 22:04:23 -0500
Newsgroups gmane.comp.java.xplanner.devel
Message-ID <[email protected]>
Thanks. It would be great if you could submit an issue in JIRA
following these instructions:

http://xplanner.codehaus.org/How+to+file+an+issue

Thanks

Jacques

On 3/14/07, Shawn Henck <shawn.henck-XORCulkK3Yd8UrSeD/[email protected]> wrote:
>
> When configuring Xplanner with LDAP I noticed that subsearches were not
> being handled even when setting
>
> xplanner.security.login[0].option.userSubtree=true.
>
> I went through the source code and noticed one line of code that was
> incorrect.
>
> In com.sabre.security.jndi.JNDIAuthenticatorImpl there is this function.
>
> public void setUserSubtree(String userSubtree) {
>       this.userSubtree = Boolean.getBoolean(userSubtree);
>    }
>
> Which according to the API
> Returns true if and only if the system property named by the argument exists
> and is equal to the string "true".
>
> I changed it to
>
> public void setUserSubtree(String userSubtree) {
>         this.userSubtree = Boolean.parseBoolean(userSubtree);
>    }
>
> Everything worked great afterwards.
>
> I wasn't sure how to submit this is a bug but found this e-mail list for
> devs.
>
> Thanks,
>
> Shawn Henck
> Java Developer
> Direct: 404.601.4372
> shawn.henck-XORCulkK3Yd8UrSeD/[email protected]
>
> Spunlogic
> Expect More From the Web
> www.spunlogic.com
> Looking for insights and tips on all aspects of interactive marketing? Visit
> Spunlogic's Blog for a look inside the minds of a leading interactive
> agency.
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Xplanner-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xplanner-devel
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV