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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to