Closed cseppan closed 2 years ago
Created MessageDialog class to show message with just an "Ok" button. Added failed_login_attempt columng DDL to data schema file. Modified hibernate file with new failed_login_attempt field. Modified UserTableDate and UserRowSource to include new failed_login_attempt field. Created new FailedLoginAttemptException class to throw new error to view (LognWindow) part of MVP architecture. Modified UserManger and UserManagerPresenter to handle new mofiying the new failed_login_attempt field and also handles throw the new FailedLoginAttemptException class.
Add a field to the users table to keep a count of failed login attempts, reset to 0 when user logs in successfully
New feature: lock account after a certain number of failed attempts (5?), show user a dialog telling them to contact an administrator to re-enable their account, might need to add a new is_account_locked flag to users table or maybe existing is_account_disabled flag can have this behavior
New feature: show number of failed attempts in user manager (admin only?)