aspose file tools*
The moose likes JSP and the fly likes how can I get username in my web application. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

how can I get username in my web application.

ertan eyimaya
Greenhorn

Joined: Feb 16, 2005
Posts: 14
I use IIS 6.0 and Tomcat 5.5.7.

In IIS -> Directory Security -> Authentication Methods, I set the
"Digest Auth. for windows domain servers" checkbox so that users can
log on by domain username/passwords.

When user wants to enter the site windows login panel appears, after
entering the domain username/password user can login.

But I could not found a way to get the username in my jsp/servlet.
Is it possible? how?

thanks...
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:
http://www.coderanch.com/t/360186/Servlets/java/username-web-application


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60080
    
  65

ertan, please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.

thanks,
bear
Forum bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: how can I get username in my web application.
 
Similar Threads
Windows Authentication
JDBC Connection to MS SQL with Windows Authentication
Login authenticate
Basic Windows Authentication in Weblogic
how can I get username in my web application.