| | |
Fetch Windows Intranet login
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2007
Posts: 34
Reputation:
Solved Threads: 0
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.
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
- windows NT Login (Windows NT / 2000 / XP)
- Restrict access to web pages on Windows Server (Windows NT / 2000 / XP)
- want to login to windows through c# (C#)
- HELP!! Monitor Shows NO SIGNAL after windows loading / before login page (Windows NT / 2000 / XP)
- Windows login issue (Windows NT / 2000 / XP)
- Windows XP slow login (Windows NT / 2000 / XP)
- Windows XP Pro login problems (Windows NT / 2000 / XP)
Other Threads in the JSP Forum
- Previous Thread: How to access tables using JDBC
- Next Thread: retreiving and storing in key value pairs
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial update video web





