Is it possible in JAAS to control the number of login attempts by configuration or programmatically?
For example when I using LDAPLoginModule for authentication, I want to say that the user has only 3 attempts for a successful login otherwise he will be redirected to an error page.