public boolean validate(String login, String password, String lastName, String passwordConf, String firstName)
            throws DaoException {

        IPersonDAO personDAO = DAOFacade.getPersonDAO();
        if (((!(login == "")) && (!(password == "")) && (!(lastName == "")) && (!(passwordConf == "")) && (!(firstName == "")))
                && (password.equals(passwordConf))) {
            if (personDAO.checkLogin(login) == true) {
                return true;
            }
        } else {
            return false;
        }
        return false;
    }