public IntentosLogin obtenerIntentoLogin(String usuario) throws HibernateException { try { return intentosLoginDAO.obtenerIntentoLogin(usuario); } catch (HibernateException he) { Logger.getLogger(IntentosLoginLogicaImpl.class.getName()).log(Level.SEVERE, null, he); throw he; } }
public void resetearIntentosFallidos(String usuario) throws HibernateException { try { intentosLoginDAO.resetearIntentosFallidos(usuario); } catch (HibernateException he) { Logger.getLogger(IntentosLoginLogicaImpl.class.getName()).log(Level.SEVERE, null, he); throw he; } }