tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
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
Apache.

<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"
               protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>



So, what is the equivalent to tomcatAuthentication for the
CoyoteConnector?

Jake
  

-- 
Best regards,
 Jacob                          mailto:hoju@visi.com


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message