title: Looking for a Simple Spring security example
body: <p>I am new to spring-security (Java) and I am looking for a good and <strong>simple</strong> example of: </p>
  
  <ol>
  <li><p>How to use spring security for login and logout</p></li>
  <li><p>Make sure that the session exists on every page and if not redirect to the login again</p></li>
  <li><p>How get access to the current User Session</p></li>
  </ol>
  
  <p>My project is currently working with spring MVC, and hibernate.<br>
  I have built the loginAPI + loginDAO, I need now to combine the security and make some of the pages secured.</p>
  
  <p>I searched for tutorials, but a lot of them are very complicated.</p>