Code example for CookieManager

0
                    return null; 
                } 
 
                public void checkClientTrusted( 
                java.security.cert.X509Certificate[] certs, String authType) {
                } 
 
                public void checkServerTrusted( 
                java.security.cert.X509Certificate[] certs, String authType) {
                } 
            } 
        }; 
 
        // Install the all-trusting trust manager 
        try { 
            SSLContext sc = SSLContext.getInstance("SSL");
            sc.init(null, trustAllCerts, new java.security.SecureRandom());
            HttpsURLConnection 
            .setDefaultSSLSocketFactory(sc.getSocketFactory());
        } catch (Exception ex) {
            System.err.println("APCI_RestServices/constructor/" + ex);