my dog learned polymorphism
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "null value returned in getRemoteuser()" Watch "null value returned in getRemoteuser()" New topic

null value returned in getRemoteuser()

Vin Man

Joined: Jun 13, 2001
Posts: 26
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.

So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: null value returned in getRemoteuser()
It's not a secret anymore!