| | |
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
- HELP!! Monitor Shows NO SIGNAL after windows loading / before login page (Windows NT / 2000 / XP)
- 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#)
- 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
Views: 527 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for JSP
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient project read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write





