File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes request.getRemoteUser() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "request.getRemoteUser()" Watch "request.getRemoteUser()" New topic


Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
Hi, does request.getRemoteUser() retrieve the user String from Authentication? If so, what good is it to have the value of Authentication header encrypted? To protect the password?
I agree. Here's the link:
subject: request.getRemoteUser()
It's not a secret anymore!