tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Savoy, Melinda" <MelindaSa...@texashealth.org>
Subject RE: Still having problem retrieving user value from ISAPI Filter for authentication
Date Tue, 22 Jun 2010 18:40:34 GMT
Ranier,

Thanks for your reply.

What I did was comment out the filter from the web.xml and I went straight from the IE browser
(http://localhost/index.jsp) to the index.jsp page that was comprised of only the following:

        <%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>

        Here is my USERID using getRemoteUser, <%=request.getRemoteUser()%> , in my
index.jsp page.

My browser window then showed:  Here is my USERID using getRemoteUser, null, in my index.jsp
page.

That was it.  So I wasn't even going through my application at all but only from the browser
to Tomcat and it returned my page without issue but with NO user value as is indicated below
in the log.  I did not see any errors in the log at all.  It obviously would have made my
life a lot easier if I could have gotten that info from the request.

My ISAPI log looked like:

[Tue Jun 22 06:15:19.816 2010] [1572:3812] [debug] jk_util.c (459): Pre-processed log time
stamp format is '[%a %b %d %H:%M:%S.000 %Y] '
[Tue Jun 22 06:15:19.816 2010] [1572:3812] [info] jk_isapi_plugin.c (2403): Starting Jakarta/ISAPI/isapi_redirector/1.2.30
[Tue Jun 22 06:15:19.816 2010] [1572:3812] [debug] jk_isapi_plugin.c (2421): Detected IIS
version 5.1
[Tue Jun 22 06:15:19.816 2010] [1572:3812] [debug] jk_isapi_plugin.c (2426): Using registry.
[Tue Jun 22 06:15:19.816 2010] [1572:3812] [debug] jk_isapi_plugin.c (2429): Using log file
c:\server\Tomcat 6.0\logs\isapi.log.
[Tue Jun 22 06:15:19.816 2010] [1572:3812] [debug] jk_isapi_plugin.c (2430): Using log level
1.
[Tue Jun 22 06:15:19.816 2010] [1572:3812] [debug] jk_isapi_plugin.c (2431): Using extension
uri /jakarta/isapi_redirect.dll.
[Tue Jun 22 06:15:19.816 2010] [1572:3812] [debug] jk_isapi_plugin.c (2432): Using worker
file c:\server\Tomcat 6.0\conf\workers.properties.
[Tue Jun 22 06:15:19.816 2010] [1572:3812] [debug] jk_isapi_plugin.c (2433): Using worker
mount file c:\server\Tomcat 6.0\conf\uriworkermap.properties.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_isapi_plugin.c (2435): Using rewrite
rule file .
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_isapi_plugin.c (2437): Using uri select
3.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_isapi_plugin.c (2438): Using no chunked
encoding.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_isapi_plugin.c (2440): Using notification
event SF_NOTIFY_AUTH_COMPLETE (0x04000000)
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_isapi_plugin.c (2450): Using uri header
TOMCATURI6A6B0000:.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_isapi_plugin.c (2451): Using query header
TOMCATQUERY6A6B0000:.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_isapi_plugin.c (2452): Using worker
header TOMCATWORKER6A6B0000:.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_isapi_plugin.c (2453): Using worker
index TOMCATWORKERIDX6A6B0000:.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_isapi_plugin.c (2454): Using translate
header TOMCATTRANSLATE6A6B0000:.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_isapi_plugin.c (2455): Using a default
of 250 connections per pool.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_map.c (491): Adding property '/*.jsp'
with value 'scmisWorker' to map.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_map.c (491): Adding property '/*.action'
with value 'scmisWorker' to map.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_map.c (491): Adding property '/jkmanager'
with value 'jkstatus' to map.
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_uri_worker_map.c (1102): Loading urimaps
from c:\server\Tomcat 6.0\conf\uriworkermap.properties with reload check interval 60 seconds
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_uri_worker_map.c (720): wildchar rule
'/*.jsp=scmisWorker' source 'uriworkermap' was added
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_uri_worker_map.c (720): wildchar rule
'/*.action=scmisWorker' source 'uriworkermap' was added
[Tue Jun 22 06:15:19.831 2010] [1572:3812] [debug] jk_uri_worker_map.c (729): exact rule '/jkmanager=jkstatus'
source 'uriworkermap' was added
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_uri_worker_map.c (171): uri map dump
after file load: index=0 file='c:\server\Tomcat 6.0\conf\uriworkermap.properties' reject_unsafe=0
reload=60 modified=1277205249 checked=1277205319
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_uri_worker_map.c (176): generation 0:
size=0 nosize=0 capacity=0
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_uri_worker_map.c (176): generation 1:
size=3 nosize=0 capacity=4
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_uri_worker_map.c (186): NEXT (1) map
#0: uri=/jkmanager worker=jkstatus context=/jkmanager source=uriworkermap type=Exact len=10
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_uri_worker_map.c (186): NEXT (1) map
#1: uri=/*.action worker=scmisWorker context=/*.action source=uriworkermap type=Wildchar len=9
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_uri_worker_map.c (186): NEXT (1) map
#2: uri=/*.jsp worker=scmisWorker context=/*.jsp source=uriworkermap type=Wildchar len=6
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_map.c (491): Adding property 'worker.list'
with value 'scmisWorker,jkstatus' to map.
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_map.c (491): Adding property 'worker.scmisWorker.type'
with value 'ajp13' to map.
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_map.c (491): Adding property 'worker.scmisWorker.host'
with value 'localhost' to map.
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_map.c (491): Adding property 'worker.scmisWorker.port'
with value '8009' to map.
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_map.c (491): Adding property 'worker.jkstatus.type'
with value 'status' to map.
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_map.c (774): Checking for references
with prefix worker. with wildcard (recursion 1)
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_shm.c (132): shared memory will contain
1 ajp workers of size 320 and 0 lb workers of size 320 with 0 members of size 384+320
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_shm.c (254): Initialized shared memory
JKISAPISHMEM_LOCALHOST_1 size=448 free=320 addr=0x1920000
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_map.c (589): Dump of map: 'worker.list'
-> 'scmisWorker,jkstatus'
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_map.c (589): Dump of map: 'worker.scmisWorker.type'
-> 'ajp13'
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_map.c (589): Dump of map: 'worker.scmisWorker.host'
-> 'localhost'
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_map.c (589): Dump of map: 'worker.scmisWorker.port'
-> '8009'
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_map.c (589): Dump of map: 'worker.jkstatus.type'
-> 'status'
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_worker.c (242): creating worker scmisWorker
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_worker.c (146): about to create instance
scmisWorker of ajp13
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_worker.c (159): about to validate and
init scmisWorker
[Tue Jun 22 06:15:19.847 2010] [1572:3812] [debug] jk_ajp_common.c (2605): worker scmisWorker
contact is 'localhost:8009'
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2800): setting endpoint
options:
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2803): keepalive:    
         0
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2807): socket timeout:
        0
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2811): socket connect
timeout: 0
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2815): buffer size:  
         0
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2819): pool timeout: 
         0
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2823): ping timeout: 
         10000
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2827): connect timeout:
       0
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2831): reply timeout:
         0
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2835): prepost timeout:
       0
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2839): recovery options:
      0
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2843): retries:      
         2
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2847): max packet size:
       8192
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2851): retry interval:
        100
[Tue Jun 22 06:15:19.862 2010] [1572:3812] [debug] jk_ajp_common.c (2662): setting connection
pool size to 250 with min 125 and acquire timeout 200
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_worker.c (242): creating worker jkstatus
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_worker.c (146): about to create instance
jkstatus of status
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_worker.c (159): about to validate and
init jkstatus
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_status.c (5053): Status worker 'jkstatus'
is read/write and has css '(null)', prefix 'worker', name space 'jk:', xml name space 'xmlns:jk="http://tomcat.apache.org"',
document type '(null)'
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_status.c (5104): Status worker 'jkstatus'
has good rating for '0000000f' and bad rating for '00ff1010'
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_worker.c (116): found a worker jkstatus
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_worker.c (293): Found worker type 'status'
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_uri_worker_map.c (512): Checking extension
for worker 0: jkstatus of type status (6)
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_worker.c (116): found a worker scmisWorker
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_worker.c (293): Found worker type 'ajp13'
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_uri_worker_map.c (512): Checking extension
for worker 1: scmisWorker of type ajp13 (2)
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_worker.c (116): found a worker scmisWorker
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_worker.c (293): Found worker type 'ajp13'
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_uri_worker_map.c (512): Checking extension
for worker 2: scmisWorker of type ajp13 (2)
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_uri_worker_map.c (171): uri map dump
after extension stripping: index=0 file='c:\server\Tomcat 6.0\conf\uriworkermap.properties'
reject_unsafe=0 reload=60 modified=1277205249 checked=1277205319
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_uri_worker_map.c (176): generation 0:
size=0 nosize=0 capacity=0
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_uri_worker_map.c (176): generation 1:
size=3 nosize=0 capacity=4
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_uri_worker_map.c (186): NEXT (1) map
#0: uri=/jkmanager worker=jkstatus context=/jkmanager source=uriworkermap type=Exact len=10
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_uri_worker_map.c (186): NEXT (1) map
#1: uri=/*.action worker=scmisWorker context=/*.action source=uriworkermap type=Wildchar len=9
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_uri_worker_map.c (186): NEXT (1) map
#2: uri=/*.jsp worker=scmisWorker context=/*.jsp source=uriworkermap type=Wildchar len=6
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [debug] jk_uri_worker_map.c (482): Switching uri
worker map from index 0 to index 1
[Tue Jun 22 06:15:19.878 2010] [1572:3812] [info] jk_isapi_plugin.c (2573): Jakarta/ISAPI/isapi_redirector/1.2.30
initialized
[Tue Jun 22 06:15:19.878 2010] [1572:4000] [debug] jk_isapi_plugin.c (1835): Filter started
[Tue Jun 22 06:15:19.894 2010] [1572:4000] [debug] jk_uri_worker_map.c (1036): Attempting
to map URI '/localhost/index.jsp' from 3 maps
[Tue Jun 22 06:15:19.894 2010] [1572:4000] [debug] jk_uri_worker_map.c (850): Attempting to
map context URI '/jkmanager=jkstatus' source 'uriworkermap'
[Tue Jun 22 06:15:19.894 2010] [1572:4000] [debug] jk_uri_worker_map.c (850): Attempting to
map context URI '/*.action=scmisWorker' source 'uriworkermap'
[Tue Jun 22 06:15:19.894 2010] [1572:4000] [debug] jk_uri_worker_map.c (850): Attempting to
map context URI '/*.jsp=scmisWorker' source 'uriworkermap'
[Tue Jun 22 06:15:19.894 2010] [1572:4000] [debug] jk_uri_worker_map.c (863): Found a wildchar
match '/*.jsp=scmisWorker'
[Tue Jun 22 06:15:19.894 2010] [1572:4000] [debug] jk_isapi_plugin.c (1916): check if [/index.jsp]
points to the web-inf directory
[Tue Jun 22 06:15:19.894 2010] [1572:4000] [debug] jk_isapi_plugin.c (1932): [/index.jsp]
is a servlet url - should redirect to scmisWorker
[Tue Jun 22 06:15:19.894 2010] [1572:4000] [debug] jk_isapi_plugin.c (1972): fowarding escaped
URI [/index.jsp]
[Tue Jun 22 06:15:20.878 2010] [1572:4000] [debug] jk_worker.c (339): Maintaining worker scmisWorker
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_isapi_plugin.c (2792): Reading extension
header HTTP_TOMCATWORKER6A6B0000: scmisWorker
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_isapi_plugin.c (2793): Reading extension
header HTTP_TOMCATWORKERIDX6A6B0000: 2
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_isapi_plugin.c (2794): Reading extension
header HTTP_TOMCATURI6A6B0000: /index.jsp
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_isapi_plugin.c (2795): Reading extension
header HTTP_TOMCATQUERY6A6B0000: (null)
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_isapi_plugin.c (2850): Applying service
extensions
[Tue Jun 22 06:15:20.894 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:15:20.894 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:15:20.894 2010] [1572:4000] [debug] jk_worker.c (116): found a worker scmisWorker
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_isapi_plugin.c (2162): got a worker
for name scmisWorker
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_ajp_common.c (3093): acquired connection
pool slot=0 after 0 retries
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_ajp_common.c (605): ajp marshaling done
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_ajp_common.c (2376): processing scmisWorker
with 2 retries
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_ajp_common.c (1579): (scmisWorker) all
endpoints are disconnected.
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_connect.c (480): socket TCP_NODELAY
set to On
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_connect.c (604): trying to connect socket
2128 to 127.0.0.1:8009
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_connect.c (630): socket 2128 connected
to 127.0.0.1:8009
[Tue Jun 22 06:15:20.894 2010] [1572:4000] [debug] jk_ajp_common.c (967): Connected socket
2128 to (127.0.0.1:8009)
[Tue Jun 22 06:15:20.909 2010] [1572:4000] [debug] jk_ajp_common.c (1152): sending to ajp13
pos=4 len=518 max=8192
[Tue Jun 22 06:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.909 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 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:15:20.925 2010] [1572:4000] [debug] jk_ajp_common.c (1639): (scmisWorker) request
body to send 0 - request body to resend 0
[Tue Jun 22 06:15:20.956 2010] [1572:4000] [debug] jk_ajp_common.c (1336): received from ajp13
pos=0 len=172 max=8192
[Tue Jun 22 06:15:20.956 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:15:20.956 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:15:20.956 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0020    4E 49 44
3D 36 41 30 45 46 37 30 43 45 38 35 42  - NID=6A0EF70CE85B
[Tue Jun 22 06:15:20.956 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0030    41 43 30
39 34 34 32 42 45 34 35 30 38 31 36 44  - AC09442BE450816D
[Tue Jun 22 06:15:20.956 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0040    38 44 38
44 3B 20 50 61 74 68 3D 2F 00 00 0C 43  - 8D8D;.Path=/...C
[Tue Jun 22 06:15:20.956 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:15:20.956 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:15:20.956 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:15:20.956 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:15:20.956 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:15:20.956 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 00a0    4C 65 6E
67 74 68 00 00 02 35 31 00 00 00 00 00  - Length...51.....
[Tue Jun 22 06:15:20.956 2010] [1572:4000] [debug] jk_ajp_common.c (660): status = 200
[Tue Jun 22 06:15:20.956 2010] [1572:4000] [debug] jk_ajp_common.c (667): Number of headers
is = 4
[Tue Jun 22 06:15:20.956 2010] [1572:4000] [debug] jk_ajp_common.c (723): Header[0] [Set-Cookie]
= [JSESSIONID=6A0EF70CE85BAC09442BE450816D8D8D; Path=/]
[Tue Jun 22 06:15:20.956 2010] [1572:4000] [debug] jk_ajp_common.c (723): Header[1] [Content-Type]
= [text/html;charset=ISO-8859-1]
[Tue Jun 22 06:15:20.972 2010] [1572:4000] [debug] jk_ajp_common.c (723): Header[2] [Content-Language]
= [en-US]
[Tue Jun 22 06:15:20.972 2010] [1572:4000] [debug] jk_ajp_common.c (723): Header[3] [Content-Length]
= [51]
[Tue Jun 22 06:15:20.972 2010] [1572:4000] [debug] jk_isapi_plugin.c (947): Starting response
for URI '/index.jsp' (protocol HTTP/1.1)
[Tue Jun 22 06:15:20.972 2010] [1572:4000] [debug] jk_isapi_plugin.c (1047): Not using Keep-Alive
[Tue Jun 22 06:15:20.972 2010] [1572:4000] [debug] jk_ajp_common.c (1336): received from ajp13
pos=0 len=55 max=8192
[Tue Jun 22 06:15:20.987 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0000    03 00 33
0D 0A 0D 0A 48 65 72 65 20 69 73 20 6D  - ..3....Here.is.m
[Tue Jun 22 06:15:20.987 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0010    79 20 75
73 65 72 69 64 2C 20 6E 75 6C 6C 20 2C  - y.userid,.null.,
[Tue Jun 22 06:15:20.987 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0020    20 69 6E
20 6D 79 20 69 6E 64 65 78 2E 6A 73 70  - .in.my.index.jsp
[Tue Jun 22 06:15:20.987 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 0030    20 70 61
67 65 2E 00 00 00 00 00 00 00 00 00 00  - .page...........
[Tue Jun 22 06:15:20.987 2010] [1572:4000] [debug] jk_isapi_plugin.c (1188): Writing 51 bytes
of data to client
[Tue Jun 22 06:15:20.987 2010] [1572:4000] [debug] jk_isapi_plugin.c (1201): Wrote 51 bytes
of data successfully
[Tue Jun 22 06:15:21.003 2010] [1572:4000] [debug] jk_ajp_common.c (1336): received from ajp13
pos=0 len=2 max=8192
[Tue Jun 22 06:15:21.003 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:15:21.003 2010] [1572:4000] [debug] jk_ajp_common.c (1940): AJP13 protocol:
Reuse is OK
[Tue Jun 22 06:15:21.003 2010] [1572:4000] [debug] jk_isapi_plugin.c (2185): service() returned
OK
[Tue Jun 22 06:15:21.003 2010] [1572:4000] [debug] jk_ajp_common.c (757): (scmisWorker) resetting
endpoint with sd = 2128
[Tue Jun 22 06:15:21.003 2010] [1572:4000] [debug] jk_ajp_common.c (3010): recycling connection
pool slot=0 for worker scmisWorker

-----Original Message-----
From: Rainer Jung [mailto:rainer.jung@kippdata.de]
Sent: Tuesday, June 22, 2010 12:19 PM
To: Tomcat Users List
Subject: Re: Still having problem retrieving user value from ISAPI Filter for authentication

On 22.06.2010 16:18, Savoy, Melinda wrote:
> Thanks Pid.  That is what I'm working on right now.  I am in the middle of the Decoder
part of the code again.
>
> My apologies to this list as I understood I could get that directly from the ISAPI filter
as it would decrypt it for me, which it does per the ISAPI log, and then pass it on to me
via the HttpServletRequest getRemoteUser() which it does not do.

It does, but I expect something in your application stack to overwrite
or delete it again.

If you want to find out what happens, you need to get into a more simple
test situation, like deploying a trivial app (e.g. the default Tomcat
ROOT context), and simply add a JSP or servlet there that shows you the
request.getRemoteUser(). I expect that to work. Then the question why it
doesn't work in your app is up to your application and framework code.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message