tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank W. Zammetti" <fzli...@omnytex.com>
Subject Re: how to forward user to a page after container manager authntication ?
Date Sat, 09 Sep 2006 22:07:42 GMT
Container-managed authentication works by intercepting a request for a 
protected (constrained) resource and redirecting to the page with the 
logon form.  Once the user authenticated, the request for the 
constrained resource continues, in effect, the user is "forwarded" to 
what they requested in the first place.  Therefore, to do what you want, 
the request that results in the logon page being shown should be for 
login_done (JSP? .do?)  Make that the default document in web.xml if 
that's what you need.

Frank

legolas wrote:
> Hi
> Thank you for reading my post
> how i can forward user to an specefic page after he/she successfully
> authenticated using form based authentication?
> if user fail to provide a wrong user/pass then he/she will be forwarded to
> login_error page , what if i need user to be forwarded to login_done after
> he/she logged in suggessfully ?
> 
> thanks.

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: fzammetti@hotmail.com
Author of "Practical Ajax Projects With Java Technology"
  (2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
  Supplying the wheel, so you don't have to reinvent it!

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message