Damien is 50% right. You can't get windows credentials from any internet user. But both IE and mozilla on windows support http auth negotiate. IE for same active directory hosts out of the box, and in both you can add exceptions.
I know it, because I worked in a web single sign on project for a company intranet. The mechanism is called SPNEGO. Other guy in the project integrated it with jass and/or acegui, but I don't remember too much. On Fri, Feb 13, 2009 at 7:46 AM, Roger <rogerhasem...@gmail.com> wrote: > > Hi all, > > Greeting from Roger. > I do not know how to get login user from Windows in GWT. I try solving > this in the way below, unfortunately does not work. > > In RemoteServiceServlet, > > ............... > Principal principal = getThreadLocalRequest().getUserPrincipal > () // principal is NULL!! > String userName = principal.getName(); > .................... > > Is there anyone can help me on this ? > Thanks a ton. > > BR, Roger > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---