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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to