You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Drew Foglia <Dr...@nc.rr.com> on 2005/03/19 06:03:35 UTC

HTTPClient and Single Signon

I apologize if this is not the correct forum for this question.

I have a Java Web Start client app.  This app is part of a larger 
web-based app.  Currently, users log into the web-based and then, when 
they access my Web Start app (a URL to a different war in the same 
container), they have to login again.  I currently use HTTPClient to 
establish this new session.

I have now turned on single sign on in the container.  How can the 
HTTPClient session "share" the SSO session?  I am using Tomcat as my 
container.  I see a new session cookie, JSESSSIONSSO.  I have tried 
forcing this cookie (and value) onto the HTTPState of the HTTPClient 
instance.  However, it seems to just ignore it.

Does any of this make sense?  Is this even possible?  Am I going about 
this all wrong?

Again, I apologize if this is the wrong forum.  Thanks in advance for 
your help,

Drew

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Re: HTTPClient and Single Signon

Posted by Michael Becke <mb...@gmail.com>.
Hi Drew,

It is certainly possible to manually add cookies to the HttpState. 
What specifically are you trying?

Mike


On Sat, 19 Mar 2005 00:03:35 -0500, Drew Foglia <Dr...@nc.rr.com> wrote:
> I apologize if this is not the correct forum for this question.
> 
> I have a Java Web Start client app.  This app is part of a larger
> web-based app.  Currently, users log into the web-based and then, when
> they access my Web Start app (a URL to a different war in the same
> container), they have to login again.  I currently use HTTPClient to
> establish this new session.
> 
> I have now turned on single sign on in the container.  How can the
> HTTPClient session "share" the SSO session?  I am using Tomcat as my
> container.  I see a new session cookie, JSESSSIONSSO.  I have tried
> forcing this cookie (and value) onto the HTTPState of the HTTPClient
> instance.  However, it seems to just ignore it.
> 
> Does any of this make sense?  Is this even possible?  Am I going about
> this all wrong?
> 
> Again, I apologize if this is the wrong forum.  Thanks in advance for
> your help,
> 
> Drew
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org