Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get Intranet login username

 
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