aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSORESTClient
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2017-09-18 12:44:48 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-18 12:44:48 +0000
commitaef3b48ffab51498d2dd2e233f5b3840b4098894 (patch)
tree635e549d9976deb427ec9e28500a33221ffee554 /bpmn/MSORESTClient
parent532e0fa11d6593ace302e54a31740f0f74d3e4cc (diff)
parent0c08b7789b4b36b16b97814d0e5dfc56ef74a0c7 (diff)
Merge "Fixed issues in bpmn package. Issue-Id: SO-141"
Diffstat (limited to 'bpmn/MSORESTClient')
-rw-r--r--bpmn/MSORESTClient/src/main/java/org/openecomp/mso/rest/HostNameVerifier.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/bpmn/MSORESTClient/src/main/java/org/openecomp/mso/rest/HostNameVerifier.java b/bpmn/MSORESTClient/src/main/java/org/openecomp/mso/rest/HostNameVerifier.java
index 81a2bd3b96..ffef5f9385 100644
--- a/bpmn/MSORESTClient/src/main/java/org/openecomp/mso/rest/HostNameVerifier.java
+++ b/bpmn/MSORESTClient/src/main/java/org/openecomp/mso/rest/HostNameVerifier.java
@@ -3,6 +3,7 @@
* ONAP - SO
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,6 +24,7 @@ package org.openecomp.mso.rest;
import javax.net.ssl.SSLException;
import org.apache.http.conn.ssl.AbstractVerifier;
+import org.openecomp.mso.logger.MsoLogger;
/**
* @version 1.0
@@ -31,6 +33,8 @@ import org.apache.http.conn.ssl.AbstractVerifier;
*/
public class HostNameVerifier extends AbstractVerifier {
+ private static final MsoLogger LOGGER = MsoLogger.getMsoLogger (MsoLogger.Catalog.RA);
+
public final void verify(
final String host,
final String[] cns,
@@ -38,7 +42,7 @@ public class HostNameVerifier extends AbstractVerifier {
try {
verify(host, cns, subjectAlts, true);
} catch (SSLException sex) {
-
+ LOGGER.debug("Exception:", sex);
}
}