Examples of consultarLoginESenha()


Examples of DAO.UsuarioDAO.consultarLoginESenha()

   
    public String logarUsuario() {
        UsuarioDAO consulta = new UsuarioDAO();
        String senhaRecebida = Criptografia.md5(usuario1.getUsuDscSenha());
        usuarioConsultado1 = consulta.consultarLoginESenha(usuario1);
        if (usuarioConsultado1 != null) {
            if (senhaRecebida.equals(usuarioConsultado1.getUsuDscSenha()) && usuarioConsultado1.getUsuSnAtivo()== true) {
                setUserLogado(true);
                controlePar.buscarParametros(); //CARREGA OS PARAMETROS DA RMP
                usuarioLogado = usuarioConsultado1;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.