title: java web app jsp - active directory and tomcat SSO
body: <p>So I'm fairly new to Java EE and Tomcat so please keep things simple if possible. I am part of a Windows Active Directory. Until today, I had no idea such a thing like Active Directory existed just so you know where I am in knowledge of AD. From what I understand, I log into my windows desktop and my username and password would be passed to my outlook with the same username and password.</p>
  
  <p>Now I would like to create a java web app that is on a tomcat 7.0 server that uses AD to login users to their specific page. This web app would exist on the intranet and would be accessible by everyone. But if they were to go to this page, the java app would use AD to recognize who that is and show a page that only that user is allowed to see. </p>
  
  <p>For example, I go to a webpage and the java app would recognize me as AAA and show me page BBB. Now another user would go to the same webpage and the java app would recognize him as ZZZ and show him page YYY. I also need it so that there would be no windows prompt that asks for the username and password again.</p>
  
  <p>Finally, what information would I need from AD (ie. connectionURL [thats the only one i know for sure]) and what kind of java lib would I need? I looked into WAFFLE, Kerberos and SPNEGO but not sure which was the easiest and quickest way of implementing this.</p>
  
  <p>Thank you in advanced.</p>