Class UserLogHome
java.lang.Object
fr.paris.lutece.portal.business.user.log.UserLogHome
This class provides instances management methods (create, find, ...) for UserLog objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddUserLog(UserLog userLog) Insert a new record in the table of connectionsstatic intgetLoginErrors(UserLog userLog, int nIntervalMinutes) Calculate the number of connections with a given ip_address by a determinate time
-
Method Details
-
addUserLog
Insert a new record in the table of connections- Parameters:
userLog- the UserLog object
-
getLoginErrors
Calculate the number of connections with a given ip_address by a determinate time- Parameters:
userLog- the UserLog objectnIntervalMinutes- The number of minutes of properties file- Returns:
- int the count of errors of login
-