> From: Andrew R Feller [mailto:[EMAIL PROTECTED] 
> Subject: j_security_check redirect after login
> 
> How does j_security_check know where to redirect users to after they
> have logged in?

Read the servlet spec; to quote from SRV.12.5.3.1:
"If the form based login is invoked because of an HTTP request, the
original request parameters must be preserved by the container for use
if, on successful authentication, it redirects the call to the requested
resource."

Unless you are going to muck around with Tomcat internals, what
difference does it make how the above is accomplished?

> nor am I able to find out where in the Tomcat source 
> code j_security_check is declared or invoked.

Start with org/apache/catalina/authenticator/AuthenticatorBase.java, in
the invoke() method.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
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