RE: getRemoteUser() always returns null

2005-06-22 Thread Allistair Crossley
Hi, Try setting tomcatAuthentication=false on the connector, or jk2.properties file Cheers, Allistair. -Original Message- From: Scott Heitkamp [mailto:[EMAIL PROTECTED] Sent: 21 June 2005 21:40 To: tomcat-user@jakarta.apache.org Subject: getRemoteUser() always returns null

getRemoteUser() always returns null

2005-06-21 Thread Scott Heitkamp
I'm currently using tomcat with the apache connector. I use apache to authenicate the user and then allow them to access certain servlets in tomcat. My problem is that when I call getRemoteUser in the servlet, it always returns null even though I was authenticated through apache. I'm

getRemoteUser() returns null !!!

2005-03-22 Thread VAN DER MARLIERE FREDERIC
Hi, I installed a Tomcat 5.0 behind a IIS 6.0 web server (which uses NTLM authentication). The application works fine but I can't get the user login with the getRemoteUser() method, I get null !!! Does someone know why? Do I have to configure something in Tomcat ? Thanks in advance. Fred

Re: getRemoteUser() returns null !!!

2005-03-22 Thread Mladen Turk
VAN DER MARLIERE FREDERIC wrote: The application works fine but I can't get the user login with the getRemoteUser() method, I get null !!! Does someone know why? Do I have to configure something in Tomcat ? Yes. Set tomcatAuthentication=false for AJP connector. Regards, Mladen

Usint getRemoteUser() method

2005-03-09 Thread Amrish Bharatiya
Hi All, I am using Tomacat server. I want to authenticate a client making the request to this server. I have deployed my server on an Intranet and want to use Window's Domain Authentication. When i use request.getRemoteUser() method to get the user name it returns null. when i looked into its

Re: Usint getRemoteUser() method

2005-03-09 Thread Jason Bainbridge
On Wed, 9 Mar 2005 22:04:17 +0530, Amrish Bharatiya [EMAIL PROTECTED] wrote: Hi All, I am using Tomacat server. I want to authenticate a client making the request to this server. I have deployed my server on an Intranet and want to use Window's Domain Authentication. When i use

RE: Usint getRemoteUser() method

2005-03-09 Thread Allistair Crossley
To: Tomcat Users List; Amrish Bharatiya Subject: Re: Usint getRemoteUser() method On Wed, 9 Mar 2005 22:04:17 +0530, Amrish Bharatiya [EMAIL PROTECTED] wrote: Hi All, I am using Tomacat server. I want to authenticate a client making the request to this server. I have deployed my

Re: Usint getRemoteUser() method

2005-03-09 Thread Jason Bainbridge
On Wed, 9 Mar 2005 16:46:08 -, Allistair Crossley [EMAIL PROTECTED] wrote: Or easier is to use IIS and then turn tomcatAuthentication off. Read my blog at www.adcworks.com/blogs to see how to do this. IIS can pass your NTLM value to Tomcat happily without jCIFs. I disagree, setting up

RE: Usint getRemoteUser() method

2005-03-09 Thread Allistair Crossley
:02 To: Allistair Crossley Cc: Tomcat Users List; Amrish Bharatiya Subject: Re: Usint getRemoteUser() method On Wed, 9 Mar 2005 16:46:08 -, Allistair Crossley [EMAIL PROTECTED] wrote: Or easier is to use IIS and then turn tomcatAuthentication off. Read my blog at www.adcworks.com

Tomcat 5.0.25 getRemoteUser()

2004-06-23 Thread Robert Bateman
I've been looking thru the archived messages and can't find a match to my problem I'm using Tomcat 5.0.25 to serve up a JSP site. I do not use Apache httpd as my front end. All authentication for Tomcat is thru tomcat and is set to BASIC. On my site is a frame page that I want to

mod_jk2 2.0.4 and getRemoteUser() problem

2004-04-21 Thread Lloyd H. Meinholz
I am trying to get apache 2.0.49, tomcat 4.1.30 (or 5.0.19), mod_jk2 2.0.4 and getRemoteUser() to work. After going through the mail archives and bugzilla, I have tried the following: adding request.tomcatAuthentication=false to jk2.properties adding tomcatAuthentication=false to my connector

Re: mod_jk2 2.0.4 and getRemoteUser() problem

2004-04-21 Thread Lloyd H. Meinholz
I found a workaround to this problem thanks to a user on another forum. I was doing auth in the Directory / directive, which is reasonable since I want my entire site password protected. Doing auth this way, getRemoteUser() returns a null. If I add auth to a Location /webapp directive (which

Re: getRemoteUser null

2004-01-08 Thread Howard Watson
on access requires encrypted authentication Alias /Secure SYS:/intranet/webapps/secure Directory SYS:/intranet/webapps/secure Options FollowSymLinks MultiViews DirectoryIndex SecurePage.jsp ## added to make make getRemoteUser() work Order deny,allow Allow from all AuthType

Re: getRemoteUser null

2004-01-08 Thread Howard Watson
MultiViews DirectoryIndex SecurePage.jsp ## added to make make getRemoteUser() work Order deny,allow Allow from all AuthType Basic AuthName ES-GW N.R.M. Corporate Intranet AuthLDAPURL ldap://ServerName:389/O=DEV?uid AuthLDAPRemoteUserIsDN On require valid-user /Directory

Re: getRemoteUser null

2004-01-05 Thread Howard Watson
Apache1.3/Tomcat3.3. Before stumbling on this partial fix all my JSPs and servlets returned getRemoteUser null. This fix works for JSPs but doesn't help much for servlets. Apache2.0.48 Tomcat4.1.29 mod_jk1.2.5 jvm1.4.1_02a Does anyone have any idea why a JSP referenced by name in a url would

Re: getRemoteUser null

2004-01-05 Thread Jacob Kjome
Apache1.3/Tomcat3.3. Before stumbling on this partial fix all my JSPs and servlets returned getRemoteUser null. This fix works for JSPs but doesn't help much for servlets. Apache2.0.48 Tomcat4.1.29 mod_jk1.2.5 jvm1.4.1_02a Does anyone have any idea why a JSP referenced by name in a url would

Re: getRemoteUser null

2004-01-05 Thread Howard Watson
Additional Info [EMAIL PROTECTED] 12/31/03 12:03PM Original message reformatted to match message posted at ApacheUser. Porting web application from Apache1.3/Tomcat3.3. Before stumbling on this partial fix all my JSPs and servlets returned getRemoteUser null. This fix works for JSPs but doesn't

getRemoteUser null

2003-12-31 Thread Howard Watson
by referencing it in DirectoryIndex in Apache2 and not including the filename in the request URL I can successfully retrieve getRemoteUser. However, if I include the JSP name in the request getRemoteUser returns null. Although, this works for JSP it doesn't help with servlets. Post1 http

getRemoteUser() and Basic Auth

2003-09-25 Thread Robert Priest
Hello, Can anyone tell me why my getRemoteUser() call is coming back null when I turn Basic Authentication on in IIS? I know that IIS\the isapi redirector2 is sending the information, but it seems as though the RemoteUser() property of the Request is not being set. Is there something I need

RE: getRemoteUser() and Basic Auth

2003-09-25 Thread Robert Priest
To: '[EMAIL PROTECTED]' Subject: getRemoteUser() and Basic Auth Hello, Can anyone tell me why my getRemoteUser() call is coming back null when I turn Basic Authentication on in IIS? I know that IIS\the isapi redirector2 is sending the information, but it seems as though the RemoteUser

RE: getRemoteUser()

2003-08-14 Thread Johnson, David
Right, having fixed the problem with getRemoteUser, I'm now having the same problem with several other methods. The methods in question are: getPathInfo() getPathTranslated() getQueryString() request.getServletPath() Are there some more jk2.properties directives I need to set? I'm looking

getRemoteUser()

2003-08-14 Thread Johnson, David
I'm having some difficulty making the getRemoteUser() method work. It's possible I have missed the point of this method, but I'll explain what I'm trying to do anyway. I'm using mod_jk to map the url /lemons to a servlet which is running on Tomcat 1.4.27. I've got mod_jk set up okay

Re: getRemoteUser()

2003-08-14 Thread Rick Roberts
* *** Johnson, David wrote: I'm having some difficulty making the getRemoteUser() method work. It's possible I have missed the point of this method, but I'll explain what I'm trying to do anyway. I'm using mod_jk to map the url /lemons to a servlet which

RE: getRemoteUser()

2003-08-14 Thread Johnson, David
Cool, that worked just fine. Many Thanks, Dave -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 4:04 PM To: Tomcat Users List Subject: Re: getRemoteUser() Add the following to jk2.properties request.tomcatAuthentication

Re: getRemoteUser()

2003-08-14 Thread Jacob Kjome
Add the following to jk2.properties request.tomcatAuthentication=false That tells Tomcat to take its authentication information from the jk or jk2 connector which gets it from Apache. Jake At 03:22 PM 8/12/2003 +0100, you wrote: I'm having some difficulty making the getRemoteUser() method

getRemoteUser = null

2003-06-25 Thread Jason Riley
I'm having the same problem that it seems many of you have had. I'm using tomcat 4.1.24 and apache with the JkCoyote connector. I've set tomcatAuthentication=false in jk2.properties. Yet, getRemoteUser is still returning null. Would someone who's gotten this working mind posting

Re: getRemoteUser = null

2003-06-25 Thread Jason Bainbridge
On Wed, 25 Jun 2003 18:42, Jason Riley wrote: I'm having the same problem that it seems many of you have had. I'm using tomcat 4.1.24 and apache with the JkCoyote connector. I've set tomcatAuthentication=false in jk2.properties. Yet, getRemoteUser is still returning null. Would someone

Re: getRemoteUser = null

2003-06-25 Thread Jason Riley
- From: Jason Bainbridge [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 20:35 Subject: Re: getRemoteUser = null On Wed, 25 Jun 2003 18:42, Jason Riley wrote: I'm having the same problem that it seems many of you have had. I'm using tomcat 4.1.24

Re: getRemoteUser is returning null

2003-06-20 Thread Antonio Fiol Bonnín
AFAICT, getRemoteUser() returns a user name only if that user name has been sent via HTTP. Not with certificates. For certificates, see my post 1 minute ago. Antonio Fiol seera naveen wrote: Hi, When I try to retrieve request.getRemoteUser() in Tomcat 4.1.24, it is returning null. I am

getRemoteUser() is null SSL Authentication

2003-06-20 Thread seera naveen
Hi, When I try to retrieve request.getRemoteUser() in Tomcat 4.1.24, it is returning null. I am not using any of Realms, but I am having my own logging mechanism. (checking usernames/passwords against LDAP manually). Why is this behaving like this? Is it a known problem? Also, can any body

getRemoteUser is returning null

2003-06-19 Thread seera naveen
Hi, When I try to retrieve request.getRemoteUser() in Tomcat 4.1.24, it is returning null. I am not using any of Realms, but I am having my own logging mechanism. (checking usernames/passwords against LDAP manually). Why is this behaving like this? Am I doing something wrong? Also, can any

RE: JK + client authentication: getRemoteUser() returns null

2003-03-13 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null Finally found the problem. I started with JK, and added the /examples section from the auto-generated mod_jk.conf to my httpd.conf: Alias /examples C:/... Directory C:/... ... /Directory When I switched to JK2, I

RE: JK + client authentication: getRemoteUser() returns null

2003-03-12 Thread Ignacio J. Ortega
Users List' Subject: RE: JK + client authentication: getRemoteUser() returns null a) My apologies. I certainly try to send plain text, but Outlook has a mind of its own, however tiny it may be. I think I've now beaten it into submission. b) I'll give it a try. From what I've seen mentioned of jk2

RE: JK + client authentication: getRemoteUser() returns null

2003-03-12 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null I've built jk2 2.0.2 against Apache 2.0.44, run it with Tomcat 4.1.18, and still get exactly the same results: everything seems to work except for getRemoteUser() still returning null. There is an entry [error] mod_jk child

RE: JK + client authentication: getRemoteUser() returns null

2003-03-11 Thread Reynir Hübner
Hi, I've just installed tomcat4.1.18 with IIS and jk2 and it works fine. I was having problems with the getRemoteUser(), and it works fine when using jk2. I posted the steps to install onto my website http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html There may be some bugs

RE: JK + client authentication: getRemoteUser() returns null

2003-03-11 Thread Ignacio J. Ortega
, by many people, search archives for tomcatAuthentication.. Saludos, Ignacio J. Ortega -Original Message- From: Mayne, Peter [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 2:27 AM To: 'Tomcat Users List' Subject: RE: JK + client authentication: getRemoteUser() returns null

RE: JK + client authentication: getRemoteUser() returns null

2003-03-11 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null I've reverted to Tomcat 4.0.6, I'm using mod_jk that I've built myself against Apache 2.0.44, and I'm using Ajp13Connector, but getRemoteUser() still doesn't work, and I'm tearing my hair out. Server.xml contains

RE: JK + client authentication: getRemoteUser() returns null

2003-03-11 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null a) My apologies. I certainly try to send plain text, but Outlook has a mind of its own, however tiny it may be. I think I've now beaten it into submission. b) I'll give it a try. From what I've seen mentioned of jk2, it's

JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Mayne, Peter
Title: JK + client authentication: getRemoteUser() returns null I'm using Windows XP Apache 2.0.44 OpenSSL 0.9.7a mod_jk-2.0.43.dll Tomcat 4.1.18 I've followed the instructions at http://www.johnturner.com/howto/winxp-howto.html to set up Apache and Tomcat using JK, with authentication

RE: JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Filip Hanik
: getRemoteUser() returns null I'm using Windows XP Apache 2.0.44 OpenSSL 0.9.7a mod_jk-2.0.43.dll Tomcat 4.1.18 I've followed the instructions at http://www.johnturner.com/howto/winxp-howto.html to set up Apache and Tomcat using JK, with authentication using client certificates. Everything seems

RE: JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Robert Biernat
that is holding me back from deployment of 4.1.18 to production. Rob -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 March 2003 11:12 AM To: Tomcat Users List Subject: RE: JK + client authentication: getRemoteUser() returns null you are correct, there is a bug

RE: JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Ignacio J. Ortega
add request.tomcatAuthentication=false to jk2.properties Saludos, Ignacio J. Ortega -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 1:12 AM To: Tomcat Users List Subject: RE: JK + client authentication: getRemoteUser() returns null

RE: JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null Thanks to both of you. I suppose I won't be holding my breath. :-\ I'll try using the Ajp13Connector. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT

RE: JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null add ... to jk2.properties jk2, even though I'm using jk? Anyway, I tried it and it still didn't work. Thanks anyway. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne

RE: JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null I just looked through the 4.1.21-beta release notes: it doesn't appear to be fixed there either. Who do we have to bribe around here? :-) PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1

getRemoteUser() not working in 4.1.18 using Coyote AJP13 Connector and IIS

2003-03-05 Thread Robert Biernat
Hi, Currently using Tomcat 4.1.12/Coyote AJP 13 connector with IIS 5.0 and the 1.2.2 JK2 ISAPI redirector. Have recently upgradeded to Tomcat 4.1.18, and it appears the call to request.getRemoteUser is no longer functioning correctly. It is returining a null or empty value, whereas in 4.1.12, it

Tomcat 4.1.18 - IIS - JK2 - getRemoteUser() returns Null

2003-01-27 Thread Reynir Hübner
Hi I'm using : Tomcat 4.1.18 IIS 5.1. (running on XP) JK2 (isapi_redirector2.dll) Jdk 1.4.1_1 I tried to set request.tomcatAuthentication=false In my jk2.properties. For some reason IIS does not authenticate the user, and when I ask for the user (on the first request) in a jsp document,

RE: Tomcat 4.1.18 - IIS - JK2 - getRemoteUser() returns Null

2003-01-27 Thread Reynir Hübner
Hi, I've seem to have resolved this problem my self. It seems like it's due to the fact I was locking a subdirectory under IIS but not the whole host. If I lock the host I get the domainname\username from getRemoteUser(). Thanx anyways. -reynir -Original Message- From: Reynir

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-23 Thread Ignacio J. Ortega
Aleix, Hi, In the mail I wrote incorrectly the tomcatAuthentication sentence, but I wrote it correctly in the jk2.properties file. Think of it too ;), but discarded to ask for :) thanks for the clarification.. My authentication in Apache is made throw a users file that can be

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-23 Thread Ignacio J. Ortega
Aleix, security-constraint display-nameExample Security Constraint/display-name web-resource-collection web-resource-nameProtected Area/web-resource-name url-pattern/*/url-pattern http-methodDELETE/http-method http-methodGET/http-method http-methodPOST/http-method

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-23 Thread Jacob Kjome
[mailto:[EMAIL PROTECTED]] Enviado el: jueves, 23 de enero de 2003 5:24 Para: Tomcat Users List Asunto: RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat Notice that you misspelled tomcatAuthentication. You wrote: request.tomcatAuthenticatoin=false

RV: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-23 Thread Aleix Vergés
-Mensaje original- De: Aleix Vergés [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 23 de enero de 2003 22:52 Para: 'Ignacio J. Ortega' Asunto: RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat How can I send this to that box

RV: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-23 Thread Aleix Vergés
-Mensaje original- De: Aleix Vergés [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 23 de enero de 2003 22:01 Para: 'Ignacio J. Ortega' Asunto: RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat Hi, Thank you very much for your help

RE: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Jacob, However, I've tested both Tomcat-4.1.18 and Tomcat-4.1.19 and both seem to ignore the tomcatAuthentication=false. add request.tomcatAuthentication=true to jk2.properties, it should work this way.. Saludos, Ignacio J. Ortega -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Jacob Kjome
for the benefit of those who are trying to take the authentication from Apache for getRemoteUser(). thanks again! Jake Jacob, However, I've tested both Tomcat-4.1.18 and Tomcat-4.1.19 and both seem to ignore the tomcatAuthentication=false. add request.tomcatAuthentication=true to jk2

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Jacob, BTW, I used request.tomcatAuthentication=false not request.tomcatAuthentication=true Ooops, sorry, of course if you want tomcatAuthentication=false, you need to put request.tomcatAuthentication=false not true :, next time i will edit my CutPaste first i promise ..;) Saludos,

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Aleix Vergés
2003 19:20 Para: 'Tomcat Users List'; 'Jacob Kjome' Asunto: RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat Jacob, BTW, I used request.tomcatAuthentication=false not request.tomcatAuthentication=true Ooops, sorry, of course if you want

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Aleix, Hola Ignacio, He estado probando exactamente lo que vosotrois comentais, pero Tomcat me sigue pidiendo que entre login i password. Alguna idea? No entiendo bien, estas seguro de que quien pide el password es tomcat y no el servidor de http? Un poco de informacion

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Aleix Vergés
Apache, and I want to use this logins with my servlets. Thank you Aleix -Mensaje original- De: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 23 de enero de 2003 0:36 Para: 'Tomcat Users List' Asunto: RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Aleix, Ok, Sorry about the laguage. Conoces el chiste del taxista de Nueva york? ;) My Apache version is 2.0.43 and Tomcat 4.1.18. I have a servlets path with the web.xml file with the authentication configuration in this way: I suppouse you have configured apache to

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Jacob Kjome
: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 23 de enero de 2003 0:36 Para: 'Tomcat Users List' Asunto: RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat Aleix, Hola Ignacio, He estado probando exactamente lo que vosotrois

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Aleix Vergés
]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat Notice that you misspelled tomcatAuthentication. You wrote: request.tomcatAuthenticatoin=false It should be request.tomcatAuthentication=false Jake At 12:58 AM 1/23/2003 +0100, you wrote: Ok, Sorry about the laguage

tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-21 Thread Jacob Kjome
Hi, I've found an issue with the CoyteConnector that I'm not sure is a bug. In versions of Tomcat previous to Tomcat-4.1.11, the CoyteConnector didn't support the tomcatAuthentication=false which is needed to make a call to getRemoteUser() take the authentication information obtained originally

RE: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-21 Thread Aleix Vergés
=false and getRemoteUser returning null in recent versions of Tomcat Hi, I've found an issue with the CoyteConnector that I'm not sure is a bug. In versions of Tomcat previous to Tomcat-4.1.11, the CoyteConnector didn't support the tomcatAuthentication=false which is needed to make a call

Re: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-21 Thread Bill Barker
ve found an issue with the CoyteConnector that I'm not sure is a bug. In versions of Tomcat previous to Tomcat-4.1.11, the CoyteConnector didn't support the tomcatAuthentication=false which is needed to make a call to getRemoteUser() take the authentication information obtained originally vi

HELP! getRemoteUser()/getUserPrincipal() returns Null

2002-09-30 Thread Dinesh P
Hi All, I am running Tomcat 4.1.12 and using Struts 1.0 framework. I am doing form based authentication and unable to get the logged in user name in my servlet code. I have tried both request.getRemoteUser() and request.getUserPrincipal() and they return 'null'. Please help. Any suggestions

HELP! getRemoteUser()/getUserPrincipal() returns Null

2002-09-29 Thread Dinesh P
Hi, I am running Tomcat 4.1.12 and using Struts 1.0 framework. I am doing form based authentication and unable to get the logged in user name in my servlet code. I have tried both request.getRemoteUser() and request.getUserPrincipal() and they return 'null'. Please help.

getRemoteUser()

2002-09-24 Thread Dennis Muhlestein
I was under the impression that getRemoteUser() was fixed as of 4.1.11. I've upgraded to 4.1.12 but still no luck. It always returns null. We use apache/ssl with mod_jk. Any suggestions? Thanks Dennis -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail

Re: getRemoteUser()

2002-09-24 Thread Jacob Kjome
, 1:59:14 PM, you wrote: DM I was under the impression that getRemoteUser() was fixed as of 4.1.11. DM I've upgraded to 4.1.12 but still no luck. It always returns null. We DM use apache/ssl with mod_jk. DM Any suggestions? DM Thanks DM Dennis DM -- DM To unsubscribe, e-mail: mailto

Re: getRemoteUser()

2002-09-24 Thread Dennis Muhlestein
tomcatAuthentication=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ Jake Tuesday, September 24, 2002, 1:59:14 PM, you wrote: DM I was under the impression that getRemoteUser() was fixed as of 4.1.11. DM I've upgraded to 4.1.12 but still no luck. It always returns

Re: getRemoteUser()

2002-09-24 Thread Dennis Muhlestein
=org.apache.jk.server.JkCoyoteHandler/ Jake Tuesday, September 24, 2002, 1:59:14 PM, you wrote: DM I was under the impression that getRemoteUser() was fixed as of 4.1.11. DM I've upgraded to 4.1.12 but still no luck. It always returns null. We DM use apache/ssl with mod_jk

Re: getRemoteUser() reset to null after authenticated user hits an unauthorized page

2002-08-17 Thread Bill Barker
at Users List' [EMAIL PROTECTED] Subject: RE: getRemoteUser() reset to null after authenticated user hits an unauthorized page Thanks for your response. I was hoping it wasn't a bug in 3.2.3, but rather a configuration problem, or that a workaround existed. :*) Does this bug exist

getRemoteUser() reset to null after authenticated user hits anunauthorized page

2002-08-16 Thread Scott Dayberry
error instead), and his authentication is invalidated. (A getRemoteUser() call returning null at this point verifies this). The implication of this, is that he can no longer select any pages that he IS authorized for, and must re-login. Is this a known bug with Tomcat 3.2.3, expected behavior

Re: getRemoteUser() reset to null after authenticated user hits anunauthorized page

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Scott Dayberry wrote: Date: Fri, 16 Aug 2002 09:31:38 -0600 From: Scott Dayberry [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: getRemoteUser() reset to null after authenticated user hits an unauthorized page I am

RE: getRemoteUser() reset to null after authenticated user hits anunauthorized page

2002-08-16 Thread Scott Dayberry
, on both Solaris 2.6 and 2.8. Is this combination a clean upgrade on both OS's? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:30 AM To: Tomcat Users List Subject: Re: getRemoteUser() reset to null after authenticated user

RE: getRemoteUser() reset to null after authenticated user hits anunauthorized page

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Scott Dayberry wrote: Date: Fri, 16 Aug 2002 11:11:53 -0600 From: Scott Dayberry [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: getRemoteUser() reset to null after authenticated user hits

getRemoteUser in Tomcat 3.3.1 does not work

2002-07-12 Thread Andreas Lehmann
Hi, I am trying to get the remote user under tomcat 3.3.1 and apache 1.3.12 on NT4 and Win2k. The authentification is done by apache and the ntlm module. If I try getRemoteUser() I only get a null value. I tryed NTLM and BASIC authentification - nothing works. I tryed various mod_jk.dll

RE: getRemoteUser in Tomcat 3.3.1 does not work

2002-07-12 Thread Telesis Support - Bangalore
hi, whats the size of your mod_jk.dll.. Is it 120 kb..?.. just confirm me.. bye, Murugan -Original Message- From: Andreas Lehmann [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 3:13 PM To: 'Tomcat Users List' Subject: getRemoteUser in Tomcat 3.3.1 does not work Hi, I am

AW: getRemoteUser in Tomcat 3.3.1 does not work

2002-07-12 Thread Andreas Lehmann
. Juli 2002 11:58 An: Tomcat Users List Betreff:RE: getRemoteUser in Tomcat 3.3.1 does not work hi, whats the size of your mod_jk.dll.. Is it 120 kb..?.. just confirm me.. bye, Murugan -Original Message

Re: getRemoteUser in Tomcat 3.3.1 does not work

2002-07-12 Thread Nikolas A. Rathert
PM To: 'Tomcat Users List' Subject: getRemoteUser in Tomcat 3.3.1 does not work Hi, I am trying to get the remote user under tomcat 3.3.1 and apache 1.3.12 on NT4 and Win2k. The authentification is done by apache and the ntlm module. If I try getRemoteUser() I only get a null value

RE: getRemoteUser in Tomcat 3.3.1 does not work

2002-07-12 Thread Larry Isaacs
applications, but the security examples will stop functioning. Cheers, Larry -Original Message- From: Andreas Lehmann [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 5:43 AM To: 'Tomcat Users List' Subject: getRemoteUser in Tomcat 3.3.1 does not work Hi, I am trying to get

mod_jk / getRemoteUser()

2002-05-15 Thread Fritz Lehmann-Grube
access_log shows usernames) and - the httpd-Tomcat connection is via mod_jk (seems to work properly) - I'm doing a regular HTTP/1.1 Request Now I try to resolve the (httpd-)username inside my Servlet by calling ((HttpRequest)request).getRemoteUser(); That returns NULL ! (actually my cocoon

Re: mod_jk / getRemoteUser()

2002-05-15 Thread Jacob Kjome
-)username inside my Servlet by calling FLG ((HttpRequest)request).getRemoteUser(); FLG That returns NULL ! FLG (actually my cocoon core.log says explicitely so: REMOTE USER: null) FLG - Why ? FLG In other words: FLG Am I right, assuming that my Apache httpd-server cuts off the username FLG from

getRemoteUser() problem

2002-05-09 Thread Lloyd H. Meinholz
I am using Apache 1.3.24 and tomcat 4.0.4 beta2 and mod_webapp (fairly recent code snapshot) on Solaris 8. I am doing Basic Authentication from Apache to a LDAP server. I cannot get the Remote User from HttpServletRequest. I went through the archives and found a workaround by unencoding the

Re: getRemoteUser() problem

2002-05-09 Thread Jacob Kjome
Hello Lloyd, On your Connector tag in Server.xml, you need to have tomcatAuthentication=false. It defaults to true. If true, getRemoteUser() will give you a null value. When false, you will get the remote user from Apache. For example: Connector className=org.apache.ajp.tomcat4

Re: getRemoteUser() problem

2002-05-09 Thread Lloyd H. Meinholz
I'm using the WarpConnector and the tomcatAuthentication flag didn't seem to do anything for me. Was is supposed to? Is mod_webapp supposed to support getRemoteUser()? This is a pretty important function for me... Thanks for the pointer, maybe this will force me to try one of the other

Re: getRemoteUser(), getAuthType() returning empty string insteadof NULL?

2002-04-25 Thread James Garrison
Ignacio J. Ortega wrote: Did you tried with tomcatAuthentication=true? This way works for me .. Still fails the same way. -- James GarrisonAthens Group, Inc. mailto:[EMAIL PROTECTED]5608 Parkcrest Dr http://www.athensgroup.com

Re: getRemoteUser(), getAuthType() returning empty string insteadof NULL?

2002-04-25 Thread James Garrison
James Garrison wrote: Ignacio J. Ortega wrote: Did you tried with tomcatAuthentication=true? This way works for me .. I'm willing to look through the Tomcat code to try and debug this. Can you suggest where to start? -- James GarrisonAthens Group, Inc.

RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-25 Thread Ignacio J. Ortega
De: James Garrison [mailto:[EMAIL PROTECTED]] Enviado el: jueves 25 de abril de 2002 18:52 I'm willing to look through the Tomcat code to try and debug this. Can you suggest where to start? http://cvs.apache.org/viewcvs/~checkout~/jakarta-tomcat-connectors/jk/ja

Re: getRemoteUser(), getAuthType() returning empty string insteadof NULL?

2002-04-25 Thread James Garrison
Ignacio J. Ortega wrote: De: James Garrison [mailto:[EMAIL PROTECTED]] Enviado el: jueves 25 de abril de 2002 18:52 I'm willing to look through the Tomcat code to try and debug this. Can you suggest where to start?

RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-25 Thread Ignacio J. Ortega
What do you think? From the code if you used tomcatAuthentication=true you will get the expected behavior, that is Tomcat will not see any auth done in IIS ( was it or any valid name ), so your test case should work as expected, what i dont understand, why you see when

RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-25 Thread Lawlor, Frank
I tested nightly build 4.0.425 and the problem with getRemoteUser() == '' is fixed there. Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating technology strategy and software solutions. -Original Message- From: Lawlor

Re: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-24 Thread Jason MacLane
Did someone find a solution ? We are stuck on the same problem. In fact, the problem is not really that the getRemoteUser() returns an empty string instead of a null string : Normally, when a user is already authenticated but is trying to access to a ressource for which he is not in a valid

RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-24 Thread Ignacio J. Ortega
De: James Garrison [mailto:[EMAIL PROTECTED]] Enviado el: martes 23 de abril de 2002 19:53 The Tomcat version is 4.0.2. Here's the Connector definition: Try the latest 4.0.3 , this should have this problem solved.. Saludos , Ignacio J. Ortega -- To unsubscribe: mailto:[EMAIL

RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-24 Thread Lawlor, Frank
The problem (in Tomcat) IS that getRemoteUser() doesn't return null. Tomcat does not support multiple logins. If you look at the code you will see that it does a getRemoteUser() and if not null and not authenticated by Tomcat, it bails. I tried it on 4.0.3, as someone suggested, and it still

RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-24 Thread Tim Cronin
look in the JBOSS forums http://www.jboss.org/forums/forum.jsp?forum=50 I believe i've seen something on this... -Original Message- From: Zachary Kuhn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 2:42 PM To: Tomcat Users List Subject: RE: getRemoteUser(), getAuthType

Re: getRemoteUser(), getAuthType() returning empty string insteadof NULL?

2002-04-24 Thread James Garrison
Ignacio J. Ortega wrote: Try the latest 4.0.3 , this should have this problem solved.. Installed 4.0.3, problem still present. -- James GarrisonAthens Group, Inc. mailto:[EMAIL PROTECTED]5608 Parkcrest Dr http://www.athensgroup.com

RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-24 Thread Ignacio J. Ortega
Did you tried with tomcatAuthentication=true? This way works for me .. Saludos , Ignacio J. Ortega -Mensaje original- De: James Garrison [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 24 de abril de 2002 21:45 Para: Tomcat Users List Asunto: Re: getRemoteUser(), getAuthType

getRemoteUser(), getAuthType() returning empty string instead ofNULL?

2002-04-23 Thread James Garrison
Scenario: (1) Browser - http://TomcatHTTPServer:8080 (no authentication) getRemoteUser() and getAuthType() return NULL, as expected (2) Browser - https://TomcatHTTPServer:8443 (no authentication) getRemoteUser() and getAuthType() return NULL, as expected (3) Browser - https

RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-23 Thread Ignacio J. Ortega
De: James Garrison [mailto:[EMAIL PROTECTED]] Enviado el: martes 23 de abril de 2002 18:48 Needed more information, which Tomcat version?, post the connector or interceptor line for ajp13 prsent in your server.xml file.. Saludos , Ignacio J. Ortega -- To unsubscribe: mailto:[EMAIL

  1   2   >