File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

how can I get username in my web application.

ertan eyimaya

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?

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:

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

Joined: Jan 10, 2002
Posts: 63870

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

Forum bartender

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: how can I get username in my web application.
It's not a secret anymore!