wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Apache web server and Tomcat 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache web server and Tomcat 5.0" Watch "Apache web server and Tomcat 5.0" New topic
Author

Apache web server and Tomcat 5.0

Bimal Patel
Ranch Hand

Joined: Aug 29, 2003
Posts: 130
Hi,

I am trying to configure Apache Web Server with LDAP support in front of Tomcat 5.0. More specifically, I have LDAP configuration in Apache web server and I am using Tomcat for J2EE container. My LDAP configuration works fine with Apache and it does authenticate. Now, how can I get username in my application which is running under Tomcat? Any help would be highly appreciated.


Work Hard, Expect The Worst...<br /> <br />Bimal R. Patel<br />(SCJP 1.2, SCWCD 1.4)
Bimal Patel
Ranch Hand

Joined: Aug 29, 2003
Posts: 130
I've got the solution . In server.xml, specify tomcatAuthentication="false" in the Connector configuration. Which apparently solved the problem.
Manu Dhanda
Greenhorn

Joined: Jan 28, 2006
Posts: 23
Hii Bimal,

Can you please provide me the Apache-tomcat configuration steps or the pointer to the document with the latest updates. I want to use the same config as you have, i.e.

Apache with LDAP,
then Apache-tomcat communication.

Will appreciate your response.

Thanks,
Manu.


"Books are as useful to a stupid person <br />As a mirror is useful to a blind person." <br /> <br />Chanakya quotes (Indian politician, strategist and writer, 350 BC-275BC)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache web server and Tomcat 5.0
 
Similar Threads
Importing Certificate into JAVA Keystore
Way to get Apache Tomcat Server 5.0
Apache Http server configuration
Error on deploying the web service
Windows Authentication Using Tomcat 5.0