summaryrefslogtreecommitdiffstats
path: root/certService/src/main
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-03-06 10:52:14 +0100
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-03-06 10:23:33 +0000
commitb605cdbd7d54c22585b8834f4aa9a82e393d40ad (patch)
treeef00dcfe7d0e2e5fa30509b52a2363a0ca8c10fd /certService/src/main
parentd43531d4072653b86cc86459816e54806ad589c2 (diff)
Remove logging of received private key
Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I3dfb64f3fe18bf99d5d0ef603cbaed436e5ad1e0
Diffstat (limited to 'certService/src/main')
-rw-r--r--certService/src/main/java/org/onap/aaf/certservice/certification/CsrModelFactory.java1
-rw-r--r--certService/src/main/java/org/onap/aaf/certservice/certification/PemObjectFactory.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/certService/src/main/java/org/onap/aaf/certservice/certification/CsrModelFactory.java b/certService/src/main/java/org/onap/aaf/certservice/certification/CsrModelFactory.java
index 9ce65e6a..501ed6d0 100644
--- a/certService/src/main/java/org/onap/aaf/certservice/certification/CsrModelFactory.java
+++ b/certService/src/main/java/org/onap/aaf/certservice/certification/CsrModelFactory.java
@@ -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);
diff --git a/certService/src/main/java/org/onap/aaf/certservice/certification/PemObjectFactory.java b/certService/src/main/java/org/onap/aaf/certservice/certification/PemObjectFactory.java
index c2293d2d..1eb5270f 100644
--- a/certService/src/main/java/org/onap/aaf/certservice/certification/PemObjectFactory.java
+++ b/certService/src/main/java/org/onap/aaf/certservice/certification/PemObjectFactory.java
@@ -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);