An example event listener plugin keeping track of client authentication attempts
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Client Authentication Attempt Counter Demo Plugin

This is a simple example event listener SDK Plugin for the Curity Identity Server.

It demonstrates how to plug in to the event listener framework (introduced in version 2.2) by registering two event listeners; one for successful and one for failed client authentication attempts. On a failed authentication the plugin uses a Bucket (introduced in version 2.4) to create a counter for the client, and will increment the counter on each authentication failure. The event listener handling successful authentication resets the same counter, so that only consecutive failed attempts are counted. After three consecutive failed attempts, the plugin logs a message on INFO level. At 10 consecutive failed attempts, the plugin logs a message on WARN level.

Please visit for more information about the Curity Identity Server.