You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jacob Kjome <ho...@visi.com> on 2002/06/24 21:17:10 UTC

tomcatAuthentication="false", BASIC Auth, Apache, and CoyoteConnector?

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>