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.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0" tomcatAuthentication="false"/>


Jake

Thursday, May 09, 2002, 2:43:35 PM, you wrote:

LHM> I am using Apache 1.3.24 and tomcat 4.0.4 beta2 and mod_webapp (fairly
LHM> recent code snapshot) on Solaris 8. I am doing Basic Authentication from
LHM> Apache to a LDAP server. I cannot get the Remote User from
LHM> HttpServletRequest. I went through the archives and found a workaround
LHM> by unencoding the Authorization header. Is this problem in tomcat or
LHM> mod_webapp? Is this going to be fixed? Am I doing something wrong?

LHM> Thanks for any pointers,

LHM> Lloyd

LHM> --
LHM> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
LHM> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



-- 
Best regards,
 Jacob                            mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to