aspose file tools*
The moose likes Servlets and the fly likes null value returned in getRemoteuser() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "null value returned in getRemoteuser()" Watch "null value returned in getRemoteuser()" New topic
Author

null value returned in getRemoteuser()

Vin Man
Greenhorn

Joined: Jun 13, 2001
Posts: 26
Hi,
Why is my request.getRemoteuser() returning a null? I am running IIS 5 and Jrun 3.1. The authentication method specified on IIS is Windows NT Challenge/Respose.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
You can try printing out the authorization to verify it's not null.
i.e out.println(request.getHeader("Authorization")
It may have to do with your server's setup.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: null value returned in getRemoteuser()