aehm...

1. the easy (or quick and very dirty) solution:
As soon as the user logins in app1, login him into app2 via iframe or hidden
javascript link and vice versa. 
Embed screens from the second application via iframe or similar into the
first application. Ensure you have reloads of dummy pages, so the session
doesn't time out. In one word: integrate on html level. It's a very quick
and pretty dirty solution. But it will work.

2. Write an access control layer, maybe with your own cookie, a crypted
string (blowfishJ) or a crypted cookie and use it from both applications to
identify the user. 
User logs in on app1, it sets the cookie with user permissions and a
timestamp, on each request to both apps the cookie is checked.

3. The "right" one. Merge both applications :-)

Hope that helps

Regards
Leon


> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Gesendet: Montag, 29. August 2005 21:04
> An: user@struts.apache.org
> Betreff: Integrating two applications
> 
> Hello:
>   
> I have two applications that have front-ends developed using 
> the struts framework. They both run on weblogic application servers.
> 
> Each application has its own controller. They operate in two 
> different physical environments. In the MVC paradigm, it's 
> two independent MVCs.
> 
> I should be able to bring up pages that are controlled by one 
> Application from within the other.
> 
> They have to share sessions. This is because authenticated 
> users on one system should be respected in the other. They 
> share the same security infrastructure.
> 
> Any ideas are welcome.
> 
> Venki
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to