dev@grizzly.java.net

Re: Attribute in HttpServletRequestImpl wrongly assumes string value?

From: James Russo <jr_at_halo3.net>
Date: Tue, 13 Apr 2010 18:25:42 -0400

Thanks. It appears to be working as it should now (or at least i'm now on to my next problem..)

-jr

On Apr 13, 2010, at 6:10 PM, Sebastien Dionne wrote:

> did you try with 1.9.19 ?
>
> just to eb sure to test with the latest release
>
> 2010/4/13 James Russo <jr_at_halo3.net>
> Hello,
>
> I am using 1.9.8. As it is implemented right now in HttpServletRequestImpl the attributed is blindly cast to a string, which is causing me some problems with attempting to use spring-security with grizzly. I am doing this as part of a jersey-test-framework test for some jersey resources which are protected with basic auth..
>
> I think that simply checking for instanceOf string should be enough and skip the notification if the attribute returned is not a string. If this sounds good, I'll open a bug and submit a patch.
>
> regards,
>
> -jr
>
>
>
>
> --
> -------------
> A+
>
> Sébastien.
>
> Vous pouvez me suivre sur Twitter / You can follow me on Twitter : http://twitter.com/survivant