Class UserLogHome

java.lang.Object
fr.paris.lutece.portal.business.user.log.UserLogHome

public final class UserLogHome extends Object
This class provides instances management methods (create, find, ...) for UserLog objects
  • Method Details

    • addUserLog

      public static void addUserLog(UserLog userLog)
      Insert a new record in the table of connections
      Parameters:
      userLog - the UserLog object
    • getLoginErrors

      public static int getLoginErrors(UserLog userLog, int nIntervalMinutes)
      Calculate the number of connections with a given ip_address by a determinate time
      Parameters:
      userLog - the UserLog object
      nIntervalMinutes - The number of minutes of properties file
      Returns:
      int the count of errors of login