From 00f50ecdd6330e2f940b20ce3c3cd21d5f47dd8a Mon Sep 17 00:00:00 2001 From: Gleimar Botelho Baleeiro Date: Mon, 20 May 2024 15:09:47 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 4 ++-- .../ventaboletos/web/utilerias/MyAppInit.java | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 970f5961e..cc6aa27d8 100644 --- a/pom.xml +++ b/pom.xml @@ -4,11 +4,11 @@ 4.0.0 br.com.rjconsultores ventaboletosadm - 1.77.2 + 1.77.3 war - 1.58.1 + 1.58.2 1.43.0 UTF-8 diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/MyAppInit.java b/src/java/com/rjconsultores/ventaboletos/web/utilerias/MyAppInit.java index 9221c0ff9..3749f9bdf 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/utilerias/MyAppInit.java +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/MyAppInit.java @@ -180,10 +180,14 @@ public class MyAppInit implements org.zkoss.zk.ui.util.WebAppInit { if (StringUtils.isNotBlank(ipConstanteExclusivo)){ if (lsIps.contains(ipConstanteExclusivo)) { - log.info(" IP Não bloqueado. Liberado exclusivamente. "); + log.info(" IP Não bloqueado. Liberado exclusivamente. "); return false; - } + }else{ + log.info(" IP bloqueado. Não é o ip exclusivamente liberado. "); + + return true; + } } if (StringUtils.isNotBlank(ipConstanteExcepcion)){