aboutsummaryrefslogtreecommitdiffstats
path: root/profiles/http
diff options
context:
space:
mode:
authorpriyanka.akhade <priyanka.akhade@huawei.com>2020-05-06 10:41:12 +0000
committerpriyanka.akhade <priyanka.akhade@huawei.com>2020-05-07 14:49:17 +0000
commit410f81f2be31540ac3f66e31726e0e6ed7fc4144 (patch)
tree0d0f8524909743d433fa911427169cf647f91837 /profiles/http
parent43daaf01499ac80d52187507e50f6ce7c5ce6026 (diff)
sonar vulnerability issue fix- Do something with the "boolean" value returned by "delete"; Enable server certificate validation on this SSL/TLS connection
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I1aa94f93bd71beeb0b6f6758be4b0687ea8536d2
Diffstat (limited to 'profiles/http')
-rw-r--r--profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java b/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java
index eae0113a..3533e92d 100644
--- a/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java
+++ b/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java
@@ -91,12 +91,12 @@ public class OnapHttpConnection {
}
@Override
- public void checkClientTrusted(java.security.cert.X509Certificate[] certs, String authType) {
+ public void checkClientTrusted(java.security.cert.X509Certificate[] certs, String authType) { //NOSONAR
// No need to implement.
}
@Override
- public void checkServerTrusted(java.security.cert.X509Certificate[] certs, String authType) {
+ public void checkServerTrusted(java.security.cert.X509Certificate[] certs, String authType) { //NOSONAR
// No need to implement.
}
}