Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on Tomcat workers.properties 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 workers.properties 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 workers.properties file is located in the tomcat conf directory.

Any help here would be appreciated.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic