title: How to block LDAP user account in spring security without locking the LDAP user?
body: <p>I'm new to Spring Security. In my application authentication is done through <code>Ldap</code>.After Ldap authentication I want to handle failure and success events on login. I want to track login count in database for locking functionality.
  any body knows how to achieve this?</p>