I need to be able to retrieve the user id of the user logged in from the web browser. I do not want to prompt the user for a login id and password. The is for an internal application. All the users will be using IE and Windows. I need to be able to retrieve the id from a JavaServlet.
This is a very easy thing to do in IIS. HttpContext.Current.User.Identity.Name.ToString()
Any ideas would be greately appreciated.
Author and all-around good cowpoke
posted 7 years ago
How are you handling user log-in?
I suggest you look at the methods in the API for HttpServletRequest - for example: