tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: j_security_check redirect after login
Date Thu, 08 Nov 2007 17:01:39 GMT
> From: Andrew R Feller [mailto:afelle1@lsu.edu] 
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message