File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Get Intranet login username" Watch "Get Intranet login username" New topic

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:

The current output is SYSTEM instead of my username.

Please advise.
I agree. Here's the link:
subject: Get Intranet login username
It's not a secret anymore!