Remove logging of received private key
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Fri, 6 Mar 2020 09:52:14 +0000 (10:52 +0100)
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Fri, 6 Mar 2020 10:23:33 +0000 (10:23 +0000)
Issue-ID: AAF-997
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I3dfb64f3fe18bf99d5d0ef603cbaed436e5ad1e0

certService/src/main/java/org/onap/aaf/certservice/certification/CsrModelFactory.java
certService/src/main/java/org/onap/aaf/certservice/certification/PemObjectFactory.java

index 9ce65e6..501ed6d 100644 (file)
@@ -83,7 +83,6 @@ public class CsrModelFactory {
         public Optional<String> asString() {
             try {
                 String decodedString = new String(decoder.decode(value));
-                LOGGER.debug("Decoded string: {}", decodedString);
                 return Optional.of(decodedString);
             } catch(RuntimeException e) {
                 LOGGER.error("Exception occurred during decoding:", e);
index c2293d2..1eb5270 100644 (file)
@@ -39,7 +39,6 @@ public class PemObjectFactory {
 
         try (StringReader stringReader = new StringReader(pem);
              PemReader pemReader = new PemReader(stringReader)) {
-            LOGGER.debug("Creating pem object from: {}", pem);
             return Optional.ofNullable(pemReader.readPemObject());
         } catch (DecoderException | IOException e) {
             LOGGER.error("Exception occurred during creation of PEM:", e);