i grails aşağıdaki kodu kullanabilirsiniz nasıl - Yukarıdaki kod mükemmel iyi çalışıyor= new TrustManager [] Grails
TrustManager[] trustAllCerts = new TrustManager[]{
new X509TrustManager() {
public X509Certificate[] getAcceptedIssuers() {
return null;
}
public void checkServerTrusted(X509Certificate[] certs, String authType) throws CertificateException {
return;
}
public void checkClientTrusted(X509Certificate[] certs, String authType) throws CertificateException {
return;
}
}
};
i JAVA projede aynı kodu çalıştırmak ancak Grails kodu derlemediğinden ve hata vermediğinden - İlk kurucuda dizisi yapıcı için hiçbir ifade yok.
Cevabımı faydalı buldunuz mu? – Opal