diff --git a/src/main/java/org/gcube/informationsystem/icproxy/resources/ServiceEndpointResource.java b/src/main/java/org/gcube/informationsystem/icproxy/resources/ServiceEndpointResource.java index 76944d7..484e6e9 100644 --- a/src/main/java/org/gcube/informationsystem/icproxy/resources/ServiceEndpointResource.java +++ b/src/main/java/org/gcube/informationsystem/icproxy/resources/ServiceEndpointResource.java @@ -139,7 +139,6 @@ public class ServiceEndpointResource { for (ServiceEndpoint.AccessPoint ap : aps){ String decrypted =encryptString(ap.password()); String user= ap.username(); - ap.credentials(decrypted, user); } return resource; @@ -155,6 +154,7 @@ public class ServiceEndpointResource { } private static String encryptString(String toEncrypt){ + log.debug("encrypting string"); try{ return StringEncrypter.getEncrypter().encrypt(toEncrypt); }catch(Exception e) {