I'm trying from 3 days to make or find good way to detect if there is a user trying to login my web application with many login credentials or making flood attack, so I can show captcha as example in this cause in my login page, but with no luck.
I can know if there is user with login username : "xyz" trying many times to login, but what if a user trying to login with many usernames like "xyz1" , "xyz2", "xyz3" , "admin", "administrator", "root" .... etc.
Specially that user maybe trying with different sessions and hidden IP or many IPs.
If you want to know good example, its something is like yahoo and google login page.
I tried to find way with my poor language with googling and browsing many questions in stackoverflow and not found helpful article.
Is Application managed bean helpful ? is it healthy to use? and what correct way to do this, in cause Application managed bean or any another way?