users@glassfish.java.net

Re: Easiest and most portable way to authenticate programatically.

From: <glassfish_at_javadesktop.org>
Date: Wed, 10 Feb 2010 05:21:37 PST

>
> I can collect credentials on the client side and
> successfully login using HttpServletRequest#login.
> I'm struggling with subsequent requests though.
> It's basically the part that jszczepankiewicz lists
> as 'step 2' in the first reply.

this issue is the subject of

https://glassfish.dev.java.net/issues/show_bug.cgi?id=11340

I believe a fix has been checked in for 3.0.1

 
> Now that I understand
> things a bit better, would it be correct to say that
> once I authenticate programatically I'll be
> responsible for attaching the appropriate auth info /
> credentials to all subsequent requests?
>
no, the fix to issue 11340, will take care of this for you.
[Message sent by forum member 'monzillo' (ronald.monzillo_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=385874