>Number: 4272 >Category: mod_auth-any >Synopsis: ServletRequest.getRemoteUser() returns null >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Class: support >Submitter-Id: apache >Arrival-Date: Tue Apr 20 01:40:00 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.4 >Environment: Windows NT 4 - SP4 JDK 1.1.4 JSDK 2.0 JSERV 1.0b1 >Description: I have protected the root directory with a .htaccess file. I have declared a servlet zone in a subdirectory of the root directory. I use the servlet from a very simple HTML form : <FORM ACTION=/soceca/SocecaServlet> <INPUT TYPE=.....> </FORM>
When I asked my html page, the security prompt works correctly and when I submit the form, the servlet is correctly launched except that the "getRemoteUser" is unable to get back the remote user from the security prompt. How can I get it ??? >How-To-Repeat: see description. >Fix: none. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]