JAAS would help but that's not Struts specific.

Mohan 

-----Original Message-----
From: Craig McClanahan [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 08, 2005 9:30 AM
To: Struts Users Mailing List; Oleg
Subject: Re: cross application form bean

Sessions are unique to individual applications.  In addition, individual
applications are loaded by different class loaders (because they have
different WEB-INF/lib directories), so its quite likely that you'd get
ClassNotFoundException errors even if sessions were allowed to cross the
boundaries.

If you want the "single sign on" type support you are talking about, you
should investigate using your container's facilities for this (for
example, Tomcat supports it), or figure out some way to simulate it,
such as a specially crafted cookie that is recognized by each of your
applications.

Craig


On Fri, 7 Jan 2005 19:49:18 -0800, Oleg <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Is there a way to access a form bean (login info) cross applications.
> For example, a user logs in application 1, the form bean created with 
> session scope and than redirected to the URL of second application, 
> there application finds created from bean and will not ask to login 
> again.
> 
> I tried that by including jsessionid with the redirect URL but second 
> application still creates a different session.
> 
> Any ideas?
> 
> Thank you
> Oleg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

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

Reply via email to