I'm not 100% sure but I believe this is one of the capabilities they are
working on for tomcat 4.0... as for 3.2 and lower... try adding user
login information to a database table or something... then set a logged
inn cookie and retieve session information from the database.
matt

David Wall wrote:
> 
> > Try Forwarding the request intstead... if the origional request was a
> > POST then the forwarded one will be as well.
> > Matt Goss
> 
> >From what I gather from the specs -- and by the lack of this working in
> Tomcat -- you cannot forward to another system.  RequestDispatcher.forward()
> appears to be limited to a particular context only.
> 
> I tried to use the
> getServletConfig().getServletContext().getContext(https://another.computer.c
> om/) returns 'null' so I guess I can't get a context object for a URL that's
> not in the current tomcat server.
> 
> Recall, I've got tomcat running on host1.com and would like to validate a
> login while on host1.com, and if all's okay, send them to host2.com. But I
> don't want host2.com to allow the user to come if they just typed in the URL
> directly, so I was hoping to pass "authorization data" from host1 to host2,
> but that info is probably too big to fit directly in a URL, which means that
> sendRedirect probably won't work for me.
> 
> Is this even possible?  It's a basic scheme of "single signon" so that when
> you sign in on host1.com, you can get to host2.com and it's webapp without
> having to login again.
> 
> David
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
begin:vcard 
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Matt
end:vcard

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

Reply via email to