title: Detect user logged on a computer using Java web app
body: <p>I want to develop an Java application that can detect the user logged on a Windows Domain. These credentials are going to be used to logging on the Java application running on Tomcat.</p>
  
  <p>How can I do this? I want to know the remote user accessing my web app. This user is logged on in Active Directory.</p>