This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Get Intranet login username  RSS feed

 
Ed Carrington
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Apache Tomcat 6.0.18 on a Windows Server that also has IIS. For IIS I can enable Integrated Windows authentication to fetch the Intranet Windows login username using ColdFusion. Is there a setting in Apache Tomcat I need to enable Integrated Windows authentication so I can fetch the Intranet Windows login username by using JSP in Apache Tomcat?

This would be what I use to fetch the username:
System.getenv("USERNAME")

The current output is SYSTEM instead of my username.

Please advise.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!