Fetch Windows Intranet login

Reply

Join Date: Nov 2007
Posts: 34
Reputation: chicago1985 is an unknown quantity at this point 
Solved Threads: 0
chicago1985 chicago1985 is offline Offline
Light Poster

Fetch Windows Intranet login

 
0
  #1
May 14th, 2009
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JSP Forum


Views: 527 | Replies: 0
Thread Tools Search this Thread



Tag cloud for JSP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC