Announcement Announcement Module
No announcement yet.
Login Attempts , 3 times locked account Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Login Attempts , 3 times locked account

    Hi everyone ,sorry for my bad english . I have used search but didn't find my answers.
    Can anyone tell me , is Spring security support something to do that : locked account when the user input true username but wrong password 4 or 5 time ?
    Thank for read and help !

  • #2
    Epic !!!

    In regard to original question. SpringSecurity doesn't do that out-of-the-box. But there are some properties in UserDetails interface that you could accommodate (e.g. isEnabled(), isAccountNonLocked(), etc) to suite your needs.

    Logic how many attempts is allowed with correct username and wrong password is something that you should do in your code.