Accessing the bruteforceprotector

I am building custom authenticators. I‘d like to update the bruteforceprotector about unsuccessful logins. How do i create the (default) bruteforceprotector?