tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject tomcatAuthentication="false", BASIC Auth, Apache, and CoyoteConnector?
Date Mon, 24 Jun 2002 19:17:10 GMT

With the old ajp13 handler, you used to be able to write
tomcatAuthentication="false" and take the Basic Authentication
information from Apache and read it in Tomcat.  If you didn't do this,
tomcatAuthentication would default to "true" and a call to
request.getRemoteUser() would return null if the authentication was
done through Apache.  It looked something like this:

<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0" tomcatAuthentication="false"/>

Now I am trying to use the CoyoteConnector, but
tomcatAuthentication="false" doesn't seem to apply since I still get
null when doing request.getRemoteUser() when authenticating through

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="20000"
               useURIValidationHack="false" tomcatAuthentication="false"

So, what is the equivalent to tomcatAuthentication for the


Best regards,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message