I want to develop an Java application that can detect the user logged on a Window Domain. These credentials are going to be used to logging on the Java application.
System.getProperty("user.name")