aspose file tools
The moose likes Tomcat and the fly likes Get Intranet login username Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Get Intranet login username" Watch "Get Intranet login username" New topic
Author

Get Intranet login username

Ed Carrington
Ranch Hand

Joined: Oct 11, 2007
Posts: 77
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.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Get Intranet login username