I did it by providing a custom JDBC realm? If you use the existing realm
as a model, the changes are not that difficult. The server.xml file
allows you to specify the class path of the custom realm and pass
database column names for failed_login_count and
last_failed_login_timestamp as parameters. I placed my custom realm in
$CATALINA_HOME/shared/classes/ and everything worked OK.
Note that this will make your web application Tomcat dependent.
Regards,
Bob Feretich
>
> Subject:
> Limiting number of login attempts
> From:
> "Anderson, M. Paul" <[EMAIL PROTECTED]>
> Date:
> Thu, 10 Mar 2005 12:54:41 -0500
> To:
> "Tomcat Users List" <[email protected]>
>
>
> Is there a way to limit the number of login attempts for a user when
> using a JDBC realm?
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]