943,861 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 874
  • JSP RSS
May 14th, 2009
0

Fetch Windows Intranet login

Expand Post »
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 using JSP?

For Server side ColdFusion (using IIS) I use the CGI.AUTH_USER variable and it fetches the Intranet username.
For JSP (using Apache Tomcat) I tried this to fetch the username:
System.getenv("USERNAME")
It output SYSTEM instead of my username.

I assume if I can fetch Intranet Windows login username with a server side like ColdFusion I can also do it with JSP since they are both on the same Web server except ColdFusion uses IIS and JSP is sitting on Tomcat.
Please advise.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
chicago1985 is offline Offline
36 posts
since Nov 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: How to access tables using JDBC
Next Thread in JSP Forum Timeline: retreiving and storing in key value pairs





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC