Hello Kevin, That is something that one of the Tomcat developers will need to answer. I haven't not successfully implemented any fallback...such as when I access my contexts directly through port 8080 bypassing Apache. I think if you add the necessary stuff in the web.xml to do BASIC auth and then access via port 80 through Apache+mod_jk, you will be prompted to log in there and then again in your app.
Anyone have a solution for this? Jake Monday, July 22, 2002, 1:11:15 PM, you wrote: KA> OK, KA> So what if I want in one application to use Tomcat Authentication and in KA> the other use Apache's Authentication. Is that possible?? KA> Thanks, KA> Kevin KA> Kevin Andryc KA> Web Systems Engineer KA> MISER KA> http://www.umass.edu/miser/ KA> Phone: (413)-545-3460 KA> [EMAIL PROTECTED] KA> -----Original Message----- KA> From: Jacob Kjome [mailto:[EMAIL PROTECTED]] KA> Sent: Monday, July 22, 2002 02:07 PM KA> To: Tomcat Users List KA> Subject: Re: Apache Authentication KA> Hello Kevin, KA> You need to add tomcatAuthentication="false" to your jk connector KA> definition in server.xml. KA> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" KA> port="8009" minProcessors="5" maxProcessors="75" KA> acceptCount="10" debug="0" tomcatAuthentication="false"/> KA> Note that tomcatAuthentication does not seem to be implemented KA> properly in Coyote. For instace, the analog to the above connection KA> for Coyote would be the following which currently doesn't work KA> (getRemoteUser() returns null): KA> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" KA> port="8009" minProcessors="5" maxProcessors="75" KA> enableLookups="true" redirectPort="8443" KA> acceptCount="10" debug="0" connectionTimeout="20000" KA> useURIValidationHack="false" tomcatAuthentication="false" KA> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/> KA> Let me qualify that. It doesn't work when using mod_jk. I haven't KA> gotten thing to work using mod_jk2, so it may work in that case, but KA> it should work in both. KA> To Tomcat Developers... KA> Is there another way that Coyote implemented to grab the auth info KA> from Apache? KA> Jake KA> Monday, July 22, 2002, 12:55:31 PM, you wrote: KA>> I just converted over from Tomcat 3.2.X to Tomcat 4.0.4 on Linux using KA>> Apache 1.3.26. In the Apache httpd.conf file, we have an Alias that KA> points KA>> to a directory that uses Apache's authentication. In Tomcat 3.2.X, I KA> used KA>> mod_jserv which integrated well and I could get the remote user and use KA>> Apache to authenticate. I was wondering how I could use mod_jk to do the KA>> same. Right now, when I do a getRemoteUser() it returns null. KA>> Thanks, KA>> Kevin KA>> Kevin Andryc KA>> Web Systems Engineer KA>> MISER KA>> http://www.umass.edu/miser/ KA>> Phone: (413)-545-3460 KA>> [EMAIL PROTECTED] KA>> -- KA>> To unsubscribe, e-mail: KA> <mailto:[EMAIL PROTECTED]> KA>> For additional commands, e-mail: KA> <mailto:[EMAIL PROTECTED]> KA> -- KA> Best regards, KA> Jacob mailto:[EMAIL PROTECTED] KA> -- KA> To unsubscribe, e-mail: KA> <mailto:[EMAIL PROTECTED]> KA> For additional commands, e-mail: KA> <mailto:[EMAIL PROTECTED]> KA> -- KA> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> KA> 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]>
