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);