tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6531] New: - Request Dispatcher forward to j_security_check not working
Date Mon, 18 Feb 2002 23:24:25 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message