Hello,
In my java code i am trying to get logged in user id (request.getRemoteUser()) however this is returning null, anyone has idea what must be done to fix this.?
Thanks for your help.
Topic
-
Re: request.getRemoteUser() returning null in code deployed on WASCE 2.1.1.6
2013-03-20T03:51:21ZThis is the accepted answer. This is the accepted answer.
The servlet Java DOC state:
"Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated. "
You can check the more possible solution in [1].
[1]http://stackoverflow.com/questions/7205977/request-getremoteuser-sometimes-returns-null