Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on Tomcat file

Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I finally got IIS to forward my request to Tomcat using the Apache Tomcat-Connectors doc. I am trying to authenticate the user login/id that executes the request to my web app to be able to grab the user login and use in my java app. Has anyone on this list setup a server environment variable in the file that would equal the REQUEST.SERVERVARIABLE(AUTH_USER) in IIS?

Can I get the same thing from the HttpServletRequest object by using the getRemoteUser method when the request is made from IIS?

I hope I posted on the correct list since the file is located in the tomcat conf directory.

Any help here would be appreciated.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic