rhtyd commented on a change in pull request #2177: CLOUDSTACK-9977: Enhance SSL 
protocol used by Console Proxy
URL: https://github.com/apache/cloudstack/pull/2177#discussion_r127420908
 
 

 ##########
 File path: 
utils/src/main/java/org/apache/cloudstack/utils/security/SSLUtils.java
 ##########
 @@ -39,7 +39,26 @@
             }
             set.add(s);
         }
-        return (String[]) set.toArray(new String[set.size()]);
+        return set.toArray(new String[set.size()]);
+    }
+
+    /**
+     * It returns recommended protocols that are considered secure.
+     */
+    public static String[] getRecommendedProtocols() {
 
 Review comment:
   Thanks @GabrielBrascher much better!
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to