As the question say, can I get Windows Username in a GWT-RPC application?
Edit : NOTE: System.getProperty("user.name"); throws error in GWT-RPC
The method getProperty(String) is undefined for the type System
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
System.getProperty("user.name");that will return the username.EDIT : What I found is Apache waffle. WAFFLE – Windows Authentication Functional Framework (Light Edition) is a native C# and Java library that does everything Windows authentication (Negotiate, NTLM and Kerberos).
This is one of the example which matches your requirement.