Jim/All,

I looked at the single sign on option and added the
valve entry for my virtual host:

<valve
className="org.apache.catalina.authenticator.SingleSignOn"
debug="0"/>

That is the only step I know how to do.  I looked at
the documentation on the single sign on option on the
jakarta site but haven't been able to find a meatier
explanation on how to utilize it.

Can anyone point me to any good documentation/examples
on how to configure/utilize the single sign on feature
of tomcat?

Thanks in Advance,

TR
--- Jim Barrows <[EMAIL PROTECTED]> wrote:

> 
> 
> > -----Original Message-----
> > From: El Toro [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 1:58 PM
> > To: [EMAIL PROTECTED]
> > Subject: ActionForward to a different Web App
> > 
> > 
> > Hi,
> > 
> > I have a struts web application running within
> Tomcat
> > 5.x that is responsible for authentication.
> > Authentication in this case just checks a username
> and
> > password against a database and then creates a
> 'User'
> > object and dumps it in the session.
> 
> Okay.. except that unless your application server
> knows that this is one session, it will generate a
> session the first time a user hits every web app.
> 
> Tomcat has singl-sign-on, which will do what you
> want.  Websphere does as well.
> 
> > 
> > After a successful authentication I would like to
> > forward the request to another web application
> running
> > within the same instance of tomcat.  This web
> > application will know that the user is
> authenticated
> > if the 'User' object is present in the session.
> > 
> > The problem I am having is that a new session is
> > created when I redirect/forward the request to the
> > other web application from the authentication
> > application, therefore my 'User' object is not
> present
> > and everyone is unhappy.
> > 
> > Does anyone know how to accomplish such a thing
> with
> > struts/tomcat 5.x.  Here is what I am doing within
> my
> > Authentication app upon successful authentication:
> > 
> > nextPage = new
> >
>
ActionForward("http://THEHOST:8080/THEWEBAPP/welcome.do";,
> > true);
> > 
> > Thanks in advance,
> > 
> > Topero Romano
> > 
> > 
> >             
> > _______________________________
> > Do you Yahoo!?
> > Shop for Back-to-School deals on Yahoo! Shopping.
> > http://shopping.yahoo.com/backtoschool
> > 
> >
>
---------------------------------------------------------------------
> > 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]
> 
> 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

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

Reply via email to