@Test public void isHttpsConnection() { Map<String, String> conf = new HashMap(); conf.put(SCHEMA_REGISTRY_URL.name(), "https: assertTrue(SecurityUtils.isHttpsConnection(conf)); conf = new HashMap(); conf.put(SCHEMA_REGISTRY_URL.name(), "http: assertFalse(SecurityUtils.isHttpsConnection(conf)); }
public static boolean isHttpsConnection(Map<String, ?> conf) { String urls = conf.get(SCHEMA_REGISTRY_URL.name()).toString(); return urls.trim().startsWith("https: }
SecurityUtils { public static boolean isHttpsConnection(Map<String, ?> conf) { String urls = conf.get(SCHEMA_REGISTRY_URL.name()).toString(); return urls.trim().startsWith("https: } }
SecurityUtils { public static boolean isHttpsConnection(Map<String, ?> conf) { String urls = conf.get(SCHEMA_REGISTRY_URL.name()).toString(); return urls.trim().startsWith("https: }  }
SecurityUtils { public static boolean isHttpsConnection(Map<String, ?> conf) { String urls = conf.get(SCHEMA_REGISTRY_URL.name()).toString(); return urls.trim().startsWith("https: }  static boolean isHttpsConnection(Map<String, ?> conf); static SSLContext createSSLContext(Map<String, ?> sslConfigurations, String sslAlgorithm); static Login initializeSecurityContext(Map<String, ?> conf); }
SecurityUtils { public static boolean isHttpsConnection(Map<String, ?> conf) { String urls = conf.get(SCHEMA_REGISTRY_URL.name()).toString(); return urls.trim().startsWith("https: }  static boolean isHttpsConnection(Map<String, ?> conf); static SSLContext createSSLContext(Map<String, ?> sslConfigurations, String sslAlgorithm); static Login initializeSecurityContext(Map<String, ?> conf);  }