static boolean isSupportedProtocol(URL url) {
        String protocol = url.getProtocol().toLowerCase(java.util.Locale.ENGLISH);
        return protocol.equals(HTTPConstants.PROTOCOL_HTTP) || protocol.equals(HTTPConstants.PROTOCOL_HTTPS);
    }
@Test
    public void testHttps() throws Exception {
        Assertions.assertTrue(AuthManager.isSupportedProtocol(new URL("https:")));
    }