[ADD] ip to localhost

parent f4876304
......@@ -2121,7 +2121,7 @@ public class FichaMysqlDAO implements FichaDAO {
String token = rsObtenerToken.getString("token");
// enviar correo con el link encriptado
String paramUrl = "http://172.16.2.91:8080/TrismegistoPlanilla/TokenFichaServlet";
String paramUrl = "http://localhost:8080/TrismegistoPlanilla/TokenFichaServlet";
String paramAccion = EncryptAction.Encriptar("validarTokenFicha", "TR1SM3G1ST0-PL4N1LL4");
String paramId = EncryptAction.Encriptar(String.valueOf(codigoTokenFicha), "TR1SM3G1ST0-ID-PL4N1LL4");
......
......@@ -287,7 +287,7 @@ public class PersonaMysqlDAO implements PersonaDAO {
String encriptarID = Encriptar.encriptar(String.valueOf(codigoTokenFicha), "TR1SM3G1ST0-ID-PL4N1LL4-SO");
String[] idArr = Encriptar.reemplazar(encriptarID);
c.setMensaje(EmailDesign.correoDesign(CodeVerification, "http://172.16.2.91:8080/TrismegistoPlanilla/TokenFichaServlet?accion=" + EncryptAction.Encriptar("validarTokenFicha", "TR1SM3G1ST0-PL4N1LL4") + "&id=" + EncryptAction.Encriptar(String.valueOf(codigoTokenFicha), "TR1SM3G1ST0-ID-PL4N1LL4") + "&token=" + token));
c.setMensaje(EmailDesign.correoDesign(CodeVerification, "http://localhost:8080/TrismegistoPlanilla/TokenFichaServlet?accion=" + EncryptAction.Encriptar("validarTokenFicha", "TR1SM3G1ST0-PL4N1LL4") + "&id=" + EncryptAction.Encriptar(String.valueOf(codigoTokenFicha), "TR1SM3G1ST0-ID-PL4N1LL4") + "&token=" + token));
CorreoMysqlDAO correo = new CorreoMysqlDAO();
if (correo.enviarCorreo(c)) {
response.setStatus(true);
......
......@@ -1991,7 +1991,7 @@ public class FichaSqlserverDAO implements FichaDAO {
String token = rsObtenerToken.getString("token");
// enviar correo con el link encriptado
String paramUrl = "http://172.16.2.91:8080/TrismegistoPlanilla/TokenFichaServlet";
String paramUrl = "http://localhost:8080/TrismegistoPlanilla/TokenFichaServlet";
// String paramUrl = "http://app8.sacooliveros.edu.pe:8080/TrismegistoPlanilla/TokenFichaServlet";
String paramAccion = EncryptAction.Encriptar("validarTokenFicha", "TR1SM3G1ST0-PL4N1LL4");
String paramId = EncryptAction.Encriptar(String.valueOf(codigoTokenFicha), "TR1SM3G1ST0-ID-PL4N1LL4");
......
......@@ -283,7 +283,7 @@ public class PersonaSqlserverDAO implements PersonaDAO {
String encriptarID = Encriptar.encriptar(String.valueOf(codigoTokenFicha), "TR1SM3G1ST0-ID-PL4N1LL4-SO");
String[] idArr = Encriptar.reemplazar(encriptarID);
c.setMensaje(EmailDesign.correoDesign(CodeVerification, "http://172.16.2.91:8080/TrismegistoPlanilla/TokenFichaServlet?accion=" + EncryptAction.Encriptar("validarTokenFicha", "TR1SM3G1ST0-PL4N1LL4") + "&id=" + EncryptAction.Encriptar(String.valueOf(codigoTokenFicha), "TR1SM3G1ST0-ID-PL4N1LL4") + "&token=" + token));
c.setMensaje(EmailDesign.correoDesign(CodeVerification, "http://localhost:8080/TrismegistoPlanilla/TokenFichaServlet?accion=" + EncryptAction.Encriptar("validarTokenFicha", "TR1SM3G1ST0-PL4N1LL4") + "&id=" + EncryptAction.Encriptar(String.valueOf(codigoTokenFicha), "TR1SM3G1ST0-ID-PL4N1LL4") + "&token=" + token));
CorreoSqlserverDAO correo = new CorreoSqlserverDAO();
if (correo.enviarCorreo(c)) {
response.setStatus(true);
......
......@@ -3,7 +3,7 @@ package trismegistoplanilla.utilities;
public class Variables {
public static String BD_NAME = "planillabd";
public static String BD_HOST = "172.16.2.91";
public static String BD_HOST = "localhost";
public static String MYSQL_NUEVO_BD_NAME = "nuevo";
public static String MYSQL_NUEVO_BD_HOST = "172.16.2.43";
......
......@@ -282,7 +282,7 @@
</servlet-mapping>
<session-config>
<session-timeout>
30
90000
</session-timeout>
</session-config>
<error-page>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment