如何保存连续登录失败次数,以及连续3次登录失败后如何封堵用户账号?
我可以通过实现AuthenticationFailureHandler、ApplicationListener和AuthenticationFailureBadCredentialsEvent来做到这一点吗?如果是这样的话,是怎么做的?
AuthenticationFailureHandler
ApplicationListener
AuthenticationFailureBadCredentialsEvent
发布于 2013-11-21 21:49:00
这已经在:How can I limit login attempts in Spring Security?中讨论过了
https://stackoverflow.com/questions/18923139
相似问题