/** * Check if the login is correct * * @param log * @param pwd * @return */ public boolean checkUser(String log, String pwd) { boolean res = false; User usr = tabUser.get(log); if (usr != null) { res = usr.IsPwdTrue(pwd); } return res; }