I need to lock an user account after three false login attempts. During my research I found out that a custom data base login module is the only solution for this. So far I understood this, I need to create a java class abd extend the DatabaseServerLoginModule. But unfortunately I couldn't find any implementation which focuses on a lock functionality. Can some one please support me with a piece of source concerning the principal steps?
Thanks in advance