public boolean shouldCreateSSLSocketFactory(URL url) {
        return url.getProtocol().equalsIgnoreCase("https");
    }
@Test
    public void testShouldUseSslClientConfig() throws Exception {
        JaasOptionsUtils jou = new JaasOptionsUtils(Collections.emptyMap());
        assertFalse(jou.shouldCreateSSLSocketFactory(new URL("http://example.com")));
        assertTrue(jou.shouldCreateSSLSocketFactory(new URL("https://example.com")));
        assertFalse(jou.shouldCreateSSLSocketFactory(new URL("file:///tmp/test.txt")));
    }