RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-27 Thread Savoy, Melinda
e the ISAPI filter work. Regards. From: André Warnier [...@ice-sa.com] Sent: Sunday, June 27, 2010 15:55 To: Tomcat Users List Subject: Re: Still having problem retrieving user value from ISAPI Filter for authentication Savoy, Melinda wrote: > Le

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-27 Thread André Warnier
Savoy, Melinda wrote: Let me ask another question if I might in addition to the one below: In my ISAPI log it shows: [Wed Jun 23 09:50:59.568 2010] [5024:6028] [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

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Rainer Jung
On 23.06.2010 16:58, Savoy, Melinda wrote: In my ISAPI log it shows: [Wed Jun 23 09:50:59.568 2010] [5024:6028] [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 The value of "

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Savoy, Melinda
'; 'p...@pidster.com' Subject: RE: Still having problem retrieving user value from ISAPI Filter for authentication Let me ask, what maybe a stupid question now, but when I print out the enumeration value of the request header names, see below, using request.getHeaderNames() shou

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Savoy, Melinda
I also tried request.getAttribute("user") but I got a null value as well. -Original Message- From: Savoy, Melinda Sent: Wednesday, June 23, 2010 8:09 AM To: 'Tomcat Users List' Subject: RE: Still having problem retrieving user value from ISAPI Filter for authenticati

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Savoy, Melinda
retrieving user value from ISAPI Filter for authentication On Wed, Jun 23, 2010 at 8:49 AM, Savoy, Melinda wrote: > Let me ask, what maybe a stupid question now, but when I print out the > enumeration value of the request header names, see below, using > request.getHeaderNames() should th

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Marc Boorshtein
On Wed, Jun 23, 2010 at 8:49 AM, Savoy, Melinda wrote: > Let me ask, what maybe a stupid question now, but when I print out the > enumeration value of the request header names, see below, using > request.getHeaderNames() should the user be listed as one of the headers > which is passed on from

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Savoy, Melinda
: Still having problem retrieving user value from ISAPI Filter for authentication On 23/06/2010 10:45, Rainer Jung wrote: > On 23.06.2010 09:51, Pid wrote: >> On 23 Jun 2010, at 02:40, Rainer Jung wrote: >> >>> On 22.06.2010 21:59, Marc Boorshtein wrote: >>>

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Pid
On 23/06/2010 10:45, Rainer Jung wrote: > On 23.06.2010 09:51, Pid wrote: >> On 23 Jun 2010, at 02:40, Rainer Jung wrote: >> >>> On 22.06.2010 21:59, Marc Boorshtein wrote: > > Unless you are going to authenticate via one of Tomcat's > authentication methods; BASIC, FORM, etc, then get

RE: OT RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Savoy, Melinda
7;s appreciated. -Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Sent: Tuesday, June 22, 2010 6:13 PM To: 'Tomcat Users List' Subject: RE: OT RE: Still having problem retrieving user value from ISAPI Filter for authentication >

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Rainer Jung
On 23.06.2010 09:51, Pid wrote: On 23 Jun 2010, at 02:40, Rainer Jung wrote: On 22.06.2010 21:59, Marc Boorshtein wrote: Unless you are going to authenticate via one of Tomcat's authentication methods; BASIC, FORM, etc, then getRemoteUser() is going to return null. You'll need to add a sec

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Pid
On 23 Jun 2010, at 02:40, Rainer Jung wrote: > On 22.06.2010 21:59, Marc Boorshtein wrote: >>> >>> Unless you are going to authenticate via one of Tomcat's authentication >>> methods; BASIC, FORM, etc, then getRemoteUser() is going to return null. >>> >>> You'll need to add a security constrai

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Rainer Jung
On 22.06.2010 21:59, Marc Boorshtein wrote: Unless you are going to authenticate via one of Tomcat's authentication methods; BASIC, FORM, etc, then getRemoteUser() is going to return null. You'll need to add a security constraint, login-config and security-role to your web.xml to test getRemo

RE: OT RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Leo Donahue - PLANDEVX
>From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] >Subject: OT RE: Still having problem retrieving user value from ISAPI >Filter for authentication >> >Doesn't the url mapping in the uriworkermap.properties file interrupt >IIS from passing authentic

OT RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Leo Donahue - PLANDEVX
>From: Marc Boorshtein [mailto:mboorsht...@gmail.com] >Subject: Re: Still having problem retrieving user value from ISAPI >Filter for authentication > >> >> Unless you are going to authenticate via one of Tomcat's >authentication methods; BASIC, FORM, etc, then get

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
2010 3:00 PM To: Tomcat Users List Subject: Re: Still having problem retrieving user value from ISAPI Filter for authentication > > Unless you are going to authenticate via one of Tomcat's authentication > methods; BASIC, FORM, etc, then getRemoteUser() is going to return null.

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Marc Boorshtein
> > Unless you are going to authenticate via one of Tomcat's authentication > methods; BASIC, FORM, etc, then getRemoteUser() is going to return null. > > You'll need to add a security constraint, login-config and security-role to > your web.xml to test getRemoteUser(); in just Tomcat. > This sh

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Leo Donahue - PLANDEVX
>From: Savoy, Melinda [mailto:melindasa...@texashealth.org] >Subject: RE: Still having problem retrieving user value from ISAPI >Filter for authentication > >What I did was comment out the filter from the web.xml and I went >straight from the IE browser (http://localhost

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
default.htm default.jsp Server.xml: -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Tuesday, June 22, 2010 2:48 PM To: Tomcat Users List Subject: Re: Still having problem retrieving user value from ISAPI Filter for authen

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Rainer Jung
On 22.06.2010 21:29, Savoy, Melinda wrote: That is definitely the preferred method and the reason for going to the Tomcat Connector for this authentication process. However, even with the most simple implementation of my index.jsp and web.xml file I cannot get the getRemoteUser() to work. I

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
PM To: Tomcat Users List Subject: RE: Still having problem retrieving user value from ISAPI Filter for authentication Hi, Melinda- I'm not sure it's going to be that easy. From what I've read, the NTLM authorization header includes structured data that is encoded using a server

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Terence M. Bandoian
22, 2010 12:40 PM To: Tomcat Users List Subject: RE: Still having problem retrieving user value from ISAPI Filter for authentication Hi, Melinda- As Pid suggested, the first part of that string after NTLM in the authorization header decodes in base64 to 'NTLMSSP'. -Terence Bandoian Sav

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
from ajp13 pos=0 len=2 max=8192 [Tue Jun 22 06:15:21.003 2010] [1572:4000] [debug] jk_ajp_common.c (1336): 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.

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
Original Message- From: Terence M. Bandoian [mailto:tere...@tmbsw.com] Sent: Tuesday, June 22, 2010 12:40 PM To: Tomcat Users List Subject: RE: Still having problem retrieving user value from ISAPI Filter for authentication Hi, Melinda- As Pid suggested, the first part of that stri

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Terence M. Bandoian
.@pidster.com] Sent: Tuesday, June 22, 2010 7:11 AM To: Tomcat Users List Subject: Re: Still having problem retrieving user value from ISAPI Filter for authentication On 22/06/2010 13:05, Marc Boorshtein wrote: I haven't tried this with IIS, but we had quite the discussion on this last week

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Rainer Jung
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 t

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Martin Gainty
> From: melindasa...@texashealth.org > To: users@tomcat.apache.org; p...@pidster.com > Date: Tue, 22 Jun 2010 08:45:18 -0500 > Subject: RE: Still having problem retrieving user value from ISAPI Filter for > authentication > > We had been working with JCIFS and chose the Tom

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
at it does, and re-enable the filter. p > -Original Message- > From: Pid [mailto:p...@pidster.com] > Sent: Tuesday, June 22, 2010 8:13 AM > To: Tomcat Users List > Subject: Re: Still having problem retrieving user value from ISAPI > Filter for authentication >

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Pid
; If your auth is performed by a custom filter, that is currently commented > out, then you're not going to get very far there either. > > Do you know exactly what the filter does? > Does it decode the header itself and wrap the request/response objects? > > > p >

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
objects? p > Thanks again. > > -Original Message- > From: Pid [mailto:p...@pidster.com] > Sent: Tuesday, June 22, 2010 7:53 AM > To: 'Tomcat Users List' > Subject: Re: Still having problem retrieving user value from ISAPI > Filter for authentication

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Pid
o that for this ISAPI filter setup if that is indeed true? > > Thanks. > > > -Original Message- > From: Savoy, Melinda > Sent: Tuesday, June 22, 2010 7:59 AM > To: 'Tomcat Users List'; 'p...@pidster.com' > Subject: RE: Still having problem

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
NULL value. Pid suggested using a Base64Decoder but I thought the ISAPI filter would provide that for me. Thanks. -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Tuesday, June 22, 2010 8:16 AM To: Tomcat Users List Subject: Re: Still having problem retrieving

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Pid
-- > From: Pid [mailto:p...@pidster.com] > Sent: Tuesday, June 22, 2010 7:53 AM > To: 'Tomcat Users List' > Subject: Re: Still having problem retrieving user value from ISAPI Filter for > authentication > > On 22/06/2010 13:36, Savoy, Melinda wrote: >> Thanks P

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Rainer Jung
On 22.06.2010 14:16, Savoy, Melinda wrote: Thanks Marc. I actually have that setting in my server.xml file as well. Actually I did follow your post last week thinking that would help me but the ISAPI filter is working properly as indicated in my log and IIS has authenticated the info otherwis

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
Users List'; 'p...@pidster.com' Subject: RE: Still having problem retrieving user value from ISAPI Filter for authentication We have a custom filter that we're using because after we get the request and response info then I need to use the user value info and get the user also

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
ed awhile back. Thanks again. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, June 22, 2010 7:53 AM To: 'Tomcat Users List' Subject: Re: Still having problem retrieving user value from ISAPI Filter for authentication On 22/06/2010 13:36, Savoy, Melin

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Pid
> Thanks. > > -Original Message- > From: Pid [mailto:p...@pidster.com] > Sent: Tuesday, June 22, 2010 7:11 AM > To: Tomcat Users List > Subject: Re: Still having problem retrieving user value from ISAPI Filter for > authentication > > On 22/06/2010 13:05, Marc B

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Pid
more about ISAPI turns up.) p > accept-encoding = gzip, deflate > content-length = 0 > > I don't know what I'm doing wrong here. Again, any help is appreciated. > > Thanks. > > -Original Message- > From: Pid [mailto:p...@pidster.com] > Sent:

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
know what I'm doing wrong here. Again, any help is appreciated. Thanks. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, June 22, 2010 7:11 AM To: Tomcat Users List Subject: Re: Still having problem retrieving user value from ISAPI Filter for authentication On

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Marc Boorshtein
On Tue, Jun 22, 2010 at 8:16 AM, Savoy, Melinda wrote: > Thanks Marc.  I actually have that setting in my server.xml file as well. > Hmm, I've only gotten the ISAPI filter working once and not in this context. Unless there are other ways to do this Pid's idea is probably the best. Marc ---

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
Boorshtein [mailto:mboorsht...@gmail.com] Sent: Tuesday, June 22, 2010 7:06 AM To: Tomcat Users List Subject: Re: Still having problem retrieving user value from ISAPI Filter for authentication I haven't tried this with IIS, but we had quite the discussion on this last week with Apache &am

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Pid
On 22/06/2010 13:05, Marc Boorshtein wrote: > I haven't tried this with IIS, but we had quite the discussion on this > last week with Apache & tomcat with JK. In your server.xml file add > tomcatAuthentication="false" to the AJP connector object. If you look > in the archives of this list for JK_

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Marc Boorshtein
I haven't tried this with IIS, but we had quite the discussion on this last week with Apache & tomcat with JK. In your server.xml file add tomcatAuthentication="false" to the AJP connector object. If you look in the archives of this list for JK_REMOTE_USER there is a very interesting discussion o

RE: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Savoy, Melinda
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