title: How can I get the user information using Spring Security with LDAP
body: <p>Im using Spring 3.1.1 with Spring Security 3.2.0 with LDAP authencitation.
  I have gotten it to a point that works fine and I can log in using my LDAP username and password, I can even display the username with this</p>
  
  <pre><code>&lt;security:authentication property="principal.username" /&gt;, is currently logged in.
  </code></pre>
  
  <p>I want to know how, if at all possible, can I get the first name, surname, email address or other information like that stored in my LDAP credentials.</p>
  
  <p>I've tried <code>property="credentials"</code> but this returns null...</p>
  
  <p>PLEASE HELP!!</p>