Hi all,

I'm looking for a way to forward control from one webapp to another with
passing
some parameters.
What I actually have is a webapp A, where a user first authenticate, and
then does his job.
Later, the user can switch, via an html link, to a another webapp B. The
fact
is that I don't want the user to authenticate again in this webapp B so, for
the moment I'm
using a REDIRECTION in the webapp A action with some URL parameters: login,
password
(argh, they are in cleartext !)

To better understand what I mean, here's how I'm currently doing :

    Browser                                Server
        |                                               |
        |    GET  switchwebapp.do       |
        | ---------------------------->  | webappA
        |                                               |
        |                                               |
        |   REDIRECT to webapp B     |
        | <----------------------------  | webappA
        |                                               |
        |                                               |
        |   GET action.do of webapp B |
        | ---------------------------->  | webappB
        |                                               |
        |                                               |
        |   OK - Result page                 |
        | <---------------------------- | webappB


But, what I'D LIKE TO HAVE is this :

    Browser                                   Server
        |                                               |
        |    GET  switchwebapp.do       |
        | ---------------------------->  | webappA
        |                                               |   |
        |                                               |   | pass user's
parameters
        |                                               |   |
        |                                               |   v
        |                                               | getting in webappB
        |                                               | get user's
credentials
        |   OK - Result page                 |
        | <----------------------------  | webappB


Is it possible to do so with Tomcat-Struts ?

Thanks in advance for any contribution/idea about this issue.

Regards,

Arnaud Chiaberge


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

Reply via email to