From f0cc8edf7f11623ed1072dd4ea519472fc9664b7 Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Thu, 22 Dec 2016 16:12:51 +0000 Subject: [PATCH] put some logs at debug level git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/trunk/portal/portal-manager@141381 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../java/org/gcube/common/portal/ContextUserUtil.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/common/portal/ContextUserUtil.java b/src/main/java/org/gcube/common/portal/ContextUserUtil.java index 99d7f0e..02a07e3 100644 --- a/src/main/java/org/gcube/common/portal/ContextUserUtil.java +++ b/src/main/java/org/gcube/common/portal/ContextUserUtil.java @@ -34,17 +34,17 @@ public class ContextUserUtil { if ("COMPANY_ID".equals(c.getName())) { companyId = c.getValue(); } else if ("ID".equals(c.getName())) { - _log.info("User id before ascii conversion is " + c.getValue()); + _log.debug("User id before ascii conversion is " + c.getValue()); userId = hexStringToStringByAscii(c.getValue()); } } if (userId != null && companyId != null) { try { Company company = CompanyLocalServiceUtil.getCompany(Long.parseLong(companyId)); - _log.info("company is " + company); + _log.debug("company is " + company); Key key = company.getKeyObj(); - _log.info("key is " + company.getKey()); - _log.info("User id after ascii conversion is " + userId); + _log.debug("key is " + company.getKey()); + _log.debug("User id after ascii conversion is " + userId); String userIdPlain = Encryptor.decrypt(key, userId); return Long.valueOf(userIdPlain);