leon01
leon01

Reputation: 317

Spring Boot Actuator lock-out policy implementaion

In the Spring Boot Reference Guide it is mentioned that Spring Boot Actuator can be used "to implement lock-out policy based on authentication failures". Is there any code example how to do it?

Upvotes: 2

Views: 197

Answers (1)

Dave Syer
Dave Syer

Reputation: 58094

No there isn't. You would need to implement an AuditListener or an AuditEventRepository (easier the latter) and use it to count successive authentication failures.

Upvotes: 2

Related Questions