title: How to do LDAP authentication and database Authorization in Spring security?
body: <p>I'm new to Spring, so this question may look like so obvious. </p>
  
  <p>I'm trying to implement Spring security and my requirement is to authenticate the user name/password against a LDAP server and once the user is authenticated, I need to retrieve the user roles from a relational database.</p>
  
  <p>is it possible to do this in Spring security?</p>