My apologies.  Let me try to ask my question in a more specific manner to see 
if I can get a response from someone on this list.

Per the ISAPI log, I am getting to my index.jsp page successfully and I also am 
able to see the request info that is sent to the ISAPI filter from IIS.
But when I try to use the getRemoteUser() in my index.jsp page to retrieve the 
info from the ISAPI filter, I am getting a NULL value.  It would appear that 
the getRemoteUser() is not the method to retrieve the user value that is 
displayed below.  I've also tried getUserPrincipal().getName() as well but that 
does not work either.  

There is a line below in the ISAPI log towards the bottom, right before the 
index.jsp page and the response is started that is displayed that states, NOT 
USING KEEP-ALIVE, is this preventing the user value in the request from being 
transferred to the page? :

[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_isapi_plugin.c (947): 
Starting response for URI '/index.jsp' (protocol HTTP/1.1)
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_isapi_plugin.c (1047): 
Not using Keep-Alive
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 
received from ajp13 pos=0 len=75 max=8192

Maybe there is something in my configuration files somewhere that is preventing 
this page from getting at the user value that I need from below.  I am just not 
sure and ANY help would be appreciated.

ISAPI LOG:

[Tue Jun 22 06:25:55.541 2010] [1572:4000] [debug] jk_isapi_plugin.c (3108): 
Service protocol=HTTP/1.1 method=GET host=127.0.0.1 addr=127.0.0.1 
name=localhost port=80 auth=NTLM user=TEXAS\SavoyM uri=/index.jsp
[Tue Jun 22 06:25:55.541 2010] [1572:4000] [debug] jk_isapi_plugin.c (3120): 
Service request headers=8 attributes=0 chunked=no content-length=0 available=0
[Tue Jun 22 06:25:55.541 2010] [1572:4000] [debug] jk_worker.c (116): found a 
worker scmisWorker
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_isapi_plugin.c (2162): 
got a worker for name scmisWorker
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (3093): 
acquired connection pool slot=0 after 0 retries
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (605): ajp 
marshaling done
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (2376): 
processing scmisWorker with 2 retries
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 
sending to ajp13 pos=4 len=518 max=8192
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0000 
   12 34 02 02 02 02 00 08 48 54 54 50 2F 31 2E 31  - .4......HTTP/1.1
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0010 
   00 00 0A 2F 69 6E 64 65 78 2E 6A 73 70 00 00 09  - .../index.jsp...
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0020 
   31 32 37 2E 30 2E 30 2E 31 00 00 09 31 32 37 2E  - 127.0.0.1...127.
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0030 
   30 2E 30 2E 31 00 00 09 6C 6F 63 61 6C 68 6F 73  - 0.0.1...localhos
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0040 
   74 00 00 50 00 00 08 A0 01 00 03 2A 2F 2A 00 00  - t..P.......*/*..
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0050 
   0F 61 63 63 65 70 74 2D 6C 61 6E 67 75 61 67 65  - .accept-language
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0060 
   00 00 05 65 6E 2D 75 73 00 A0 06 00 0A 4B 65 65  - ...en-us.....Kee
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0070 
   70 2D 41 6C 69 76 65 00 A0 0B 00 09 6C 6F 63 61  - p-Alive.....loca
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0080 
   6C 68 6F 73 74 00 A0 0E 00 D0 4D 6F 7A 69 6C 6C  - lhost.....Mozill
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0090 
   61 2F 34 2E 30 20 28 63 6F 6D 70 61 74 69 62 6C  - a/4.0.(compatibl
[Tue Jun 22 06:25:55.557 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 00a0 
   65 3B 20 4D 53 49 45 20 38 2E 30 3B 20 57 69 6E  - e;.MSIE.8.0;.Win
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 00b0 
   64 6F 77 73 20 4E 54 20 35 2E 31 3B 20 54 72 69  - dows.NT.5.1;.Tri
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 00c0 
   64 65 6E 74 2F 34 2E 30 3B 20 2E 4E 45 54 20 43  - dent/4.0;..NET.C
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 00d0 
   4C 52 20 31 2E 31 2E 34 33 32 32 3B 20 2E 4E 45  - LR.1.1.4322;..NE
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 00e0 
   54 20 43 4C 52 20 32 2E 30 2E 35 30 37 32 37 3B  - T.CLR.2.0.50727;
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 00f0 
   20 2E 4E 45 54 20 43 4C 52 20 33 2E 30 2E 30 34  - ..NET.CLR.3.0.04
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0100 
   35 30 36 2E 36 34 38 3B 20 49 6E 66 6F 50 61 74  - 506.648;.InfoPat
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0110 
   68 2E 32 3B 20 2E 4E 45 54 20 43 4C 52 20 33 2E  - h.2;..NET.CLR.3.
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0120 
   30 2E 34 35 30 36 2E 32 31 35 32 3B 20 2E 4E 45  - 0.4506.2152;..NE
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0130 
   54 20 43 4C 52 20 33 2E 35 2E 33 30 37 32 39 3B  - T.CLR.3.5.30729;
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0140 
   20 4D 53 2D 52 54 43 20 4C 4D 20 38 3B 20 4D 53  - .MS-RTC.LM.8;.MS
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0150 
   2D 52 54 43 20 45 41 20 32 29 00 A0 05 00 65 4E  - -RTC.EA.2)....eN
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0160 
   54 4C 4D 20 54 6C 52 4D 54 56 4E 54 55 41 41 44  - TLM.TlRMTVNTUAAD
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0170 
   41 41 41 41 41 41 41 41 41 45 67 41 41 41 41 41  - AAAAAAAAAEgAAAAA
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0180 
   41 41 41 41 53 41 41 41 41 41 41 41 41 41 42 49  - AAAASAAAAAAAAABI
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0190 
   41 41 41 41 41 41 41 41 41 45 67 41 41 41 41 41  - AAAAAAAAAEgAAAAA
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 01a0 
   41 41 41 41 53 41 41 41 41 41 41 41 41 41 42 49  - AAAASAAAAAAAAABI
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 01b0 
   41 41 41 41 42 63 4B 49 6F 67 55 42 4B 41 6F 41  - AAAABcKIogUBKAoA
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 01c0 
   41 41 41 50 00 00 0F 61 63 63 65 70 74 2D 65 6E  - AAAP...accept-en
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 01d0 
   63 6F 64 69 6E 67 00 00 0D 67 7A 69 70 2C 20 64  - coding...gzip,.d
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 01e0 
   65 66 6C 61 74 65 00 A0 08 00 01 30 00 03 00 0C  - eflate.....0....
[Tue Jun 22 06:25:55.572 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 01f0 
   54 45 58 41 53 5C 53 61 76 6F 79 4D 00 04 00 04  - TEXAS\SavoyM....
[Tue Jun 22 06:25:55.588 2010] [1572:4000] [debug] jk_ajp_common.c (1152): 0200 
   4E 54 4C 4D 00 FF 00 00 00 00 00 00 00 00 00 00  - NTLM............
[Tue Jun 22 06:25:55.588 2010] [1572:4000] [debug] jk_ajp_common.c (1628): 
(scmisWorker) Statistics about invalid connections: connect check (0), cping 
(0), send (0)
[Tue Jun 22 06:25:55.604 2010] [1572:4000] [debug] jk_ajp_common.c (1639): 
(scmisWorker) request body to send 0 - request body to resend 0
[Tue Jun 22 06:25:55.682 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 
received from ajp13 pos=0 len=172 max=8192
[Tue Jun 22 06:25:55.682 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0000 
   04 00 C8 00 02 4F 4B 00 00 04 00 0A 53 65 74 2D  - .....OK.....Set-
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0010 
   43 6F 6F 6B 69 65 00 00 33 4A 53 45 53 53 49 4F  - Cookie..3JSESSIO
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0020 
   4E 49 44 3D 34 35 37 42 36 30 39 31 41 36 33 43  - NID=457B6091A63C
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0030 
   30 39 45 35 46 42 32 33 46 42 41 46 33 45 36 44  - 09E5FB23FBAF3E6D
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0040 
   34 37 35 33 3B 20 50 61 74 68 3D 2F 00 00 0C 43  - 4753;.Path=/...C
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0050 
   6F 6E 74 65 6E 74 2D 54 79 70 65 00 00 1C 74 65  - ontent-Type...te
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0060 
   78 74 2F 68 74 6D 6C 3B 63 68 61 72 73 65 74 3D  - xt/html;charset=
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0070 
   49 53 4F 2D 38 38 35 39 2D 31 00 00 10 43 6F 6E  - ISO-8859-1...Con
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0080 
   74 65 6E 74 2D 4C 61 6E 67 75 61 67 65 00 00 05  - tent-Language...
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0090 
   65 6E 2D 55 53 00 00 0E 43 6F 6E 74 65 6E 74 2D  - en-US...Content-
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 00a0 
   4C 65 6E 67 74 68 00 00 02 37 31 00 00 00 00 00  - Length...71.....
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (660): 
status = 200
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (667): 
Number of headers is = 4
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (723): 
Header[0] [Set-Cookie] = [JSESSIONID=457B6091A63C09E5FB23FBAF3E6D4753; Path=/]
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (723): 
Header[1] [Content-Type] = [text/html;charset=ISO-8859-1]
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (723): 
Header[2] [Content-Language] = [en-US]
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (723): 
Header[3] [Content-Length] = [71]
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_isapi_plugin.c (947): 
Starting response for URI '/index.jsp' (protocol HTTP/1.1)
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_isapi_plugin.c (1047): 
Not using Keep-Alive
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 
received from ajp13 pos=0 len=75 max=8192
[Tue Jun 22 06:25:55.697 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0000 
   03 00 47 0D 0A 0D 0A 48 65 72 65 20 69 73 20 6D  - ..G....Here.is.m
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0010 
   79 20 55 53 45 52 49 44 20 75 73 69 6E 67 20 67  - y.USERID.using.g
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0020 
   65 74 52 65 6D 6F 74 65 55 73 65 72 2C 20 6E 75  - etRemoteUser,.nu
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0030 
   6C 6C 20 2C 20 69 6E 20 6D 79 20 69 6E 64 65 78  - ll.,.in.my.index
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0040 
   2E 6A 73 70 20 70 61 67 65 2E 00 00 00 00 00 00  - .jsp.page.......
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_isapi_plugin.c (1188): 
Writing 71 bytes of data to client
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_isapi_plugin.c (1201): 
Wrote 71 bytes of data successfully
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 
received from ajp13 pos=0 len=2 max=8192
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0000 
   05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_ajp_common.c (1940): 
AJP13 protocol: Reuse is OK
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_isapi_plugin.c (2185): 
service() returned OK
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_ajp_common.c (757): 
(scmisWorker) resetting endpoint with sd = 2128 
[Tue Jun 22 06:25:55.713 2010] [1572:4000] [debug] jk_ajp_common.c (3010): 
recycling connection pool slot=0 for worker scmisWorker

-----Original Message-----
From: Savoy, Melinda 
Sent: Monday, June 21, 2010 12:55 PM
To: 'Tomcat Users List'
Subject: Problem retrieving domain\userid from HttpServletRequest object 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to