1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
public class SpringUserServicesImpl implements ISpringUserService {
public IDAOUserService serviceDAO;
public SpringUserServicesImpl() {
super();
}
public Utilisateur exists(String login, String password) throws LoginException {
Utilisateur theUtilisateur = null;
try {
theUtilisateur = getServiceDAO().exists(login,password);
} catch (RuntimeException e) {
throw new LoginException("Impossible de rechercher le login : " + login + " , " + password + " ... " + e.toString());
}
return theUtilisateur;
}
public IDAOUserService getServiceDAO() {
return serviceDAO;
}
public void setServiceDAO(IDAOUserService serviceDAO) {
this.serviceDAO = serviceDAO;
}
} |
Partager