You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/02/19 00:24:25 UTC
DO NOT REPLY [Bug 6531] New: -
Request Dispatcher forward to j_security_check not working
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6531>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6531
Request Dispatcher forward to j_security_check not working
Summary: Request Dispatcher forward to j_security_check not
working
Product: Tomcat 4
Version: Nightly Build
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: matt@raibledesigns.com
I'm trying to use the following concept to encrypt my password before
authenticating (b/c password in db in encrypted).
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg22257.html
<snip>
String req = "j_security_check?j_username=" +
form.getUsername() + "&j_password=" +
StringUtil.encodeString(form.getPassword());
RequestDispatcher rd = request.getRequestDispatcher(req);
rd.forward(request, response);
</snip>
In Tomcat 4.0.1, 4.0.2 and the nightly build, this results in the following
error:
Apache Tomcat/4.0.1 - HTTP Status 404 - /j_security_check
--------------------------------------------------------------------------------
type Status report
message /j_security_check
description The requested resource (/j_security_check) is not available.
This code works GREAT in Tomcat 3.2.4.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>