3 thoughts on “Flood Control (Limit Login Attempts) in Spring Security

  1. Hi Marc,
    Thanks for the comment. Spring automatically injects LoginAttemptService bean here since we've used constructor injection.

    So what you'll have to do is, autowire those beans and use them. Here I user new as a demonstration. I apologize for the inconvenience. I'll change it.

Leave a Reply

Your email address will not be published. Required fields are marked *