Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache web server and Tomcat 5.0

 
Bimal Patel
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bimal Patel
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got the solution . In server.xml, specify tomcatAuthentication="false" in the Connector configuration. Which apparently solved the problem.
 
Manu Dhanda
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic