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
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
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
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
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
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
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
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
: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
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
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
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
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
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
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
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
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
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
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
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
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
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
*
***
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
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
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
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
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
-
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
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
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
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
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
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
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
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
, 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
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
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
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
: 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
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
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
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
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
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
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
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,
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
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
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
[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
-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
-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
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]
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
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,
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
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
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
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
: 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
]: 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
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
=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
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
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
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.
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
, 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
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
=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
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
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
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
, 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
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
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
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
. 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
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
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
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
-)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
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
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
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
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
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.
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
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?
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
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
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
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
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
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
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
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
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
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 - 100 of 106 matches
Mail list logo