title: Tomcat JDBC Count failed Logins
body: <p>I am currently trying to find the best method for counting failed login attempts in my database when logging in via JDBC connection in tomcat.</p>
  
  <p>Has anyone ever used this method before? I don't really know where I can catch it to add in some logic. Thoughts?</p>