Method |
Description |
|
ClearLoginAttemptsForIp ( ) : void |
Resets the login counter by clearing all IP records
from the failed login attempt database after a sucessful login. |
|
DeleteOldLoginAttempts ( ) : void |
Delete IP records older than 12 hours from the database. |
|
MaxLoginAttemptsExceeded ( ) : boolean |
Checks if failed login attempts exceeds the number of
failed login attempts saved in the System Preferences. |
|
RecordLoginAttempt ( ) : void |
Insert IP record to the database which has a failed login attempt. |
|