From e4cea04204db84c38a6a1054a0243fd45ba806a9 Mon Sep 17 00:00:00 2001 From: YYTVicky <61596169+YYTVicky@users.noreply.github.com> Date: Sat, 29 Feb 2020 18:09:17 -0800 Subject: [PATCH] Leave a node to tell user that it is not secure --- .../apache/eagle/app/utils/connection/URLConnectionUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/eagle-core/eagle-app/eagle-app-utils/src/main/java/org/apache/eagle/app/utils/connection/URLConnectionUtils.java b/eagle-core/eagle-app/eagle-app-utils/src/main/java/org/apache/eagle/app/utils/connection/URLConnectionUtils.java index cb02852548..23d8910c6d 100644 --- a/eagle-core/eagle-app/eagle-app-utils/src/main/java/org/apache/eagle/app/utils/connection/URLConnectionUtils.java +++ b/eagle-core/eagle-app/eagle-app-utils/src/main/java/org/apache/eagle/app/utils/connection/URLConnectionUtils.java @@ -82,6 +82,7 @@ private static URLConnection getHTTPSConnection(String urlString) throws IOExcep return url.openConnection(); } + /** It is not secure!*/ public static class TrustAllX509TrustManager implements X509TrustManager { @Override public void checkClientTrusted(