public final class UserLogDAO extends Object implements IUserLogDAO
Constructor and Description |
---|
UserLogDAO() |
Modifier and Type | Method and Description |
---|---|
void |
insertLog(UserLog userLog)
Insert a new record in the table of connections
|
int |
selectLoginErrors(UserLog userLog,
int nIntervalMinutes)
Calculate the number of connections with a given ip_address by a determinate time
|
public int selectLoginErrors(UserLog userLog, int nIntervalMinutes)
selectLoginErrors
in interface IUserLogDAO
userLog
- The Log of connectionnIntervalMinutes
- The number of minutes since the last connectionpublic void insertLog(UserLog userLog)
insertLog
in interface IUserLogDAO
userLog
- the UserLog ObjectCopyright © 2020 City of Paris. All rights reserved.