Index: src/main/net/sourceforge/jtds/ssl/SocketFactories.java =================================================================== RCS file: /cvsroot/jtds/jtds/src/main/net/sourceforge/jtds/ssl/SocketFactories.java,v retrieving revision 1.7 diff -u -r1.7 SocketFactories.java --- src/main/net/sourceforge/jtds/ssl/SocketFactories.java 28 Apr 2005 14:29:30 -0000 1.7 +++ src/main/net/sourceforge/jtds/ssl/SocketFactories.java 7 May 2007 18:36:12 -0000 @@ -29,9 +29,9 @@ import javax.net.ssl.SSLSocket; import javax.net.ssl.SSLSocketFactory; -import com.sun.net.ssl.SSLContext; -import com.sun.net.ssl.TrustManager; -import com.sun.net.ssl.X509TrustManager; +import javax.net.ssl.SSLContext; +import javax.net.ssl.TrustManager; +import javax.net.ssl.X509TrustManager; import net.sourceforge.jtds.util.Logger; @@ -184,17 +184,13 @@ return new X509Certificate[0]; } - public boolean isClientTrusted(X509Certificate[] chain) { - return true; - } + public void checkClientTrusted(X509Certificate[] chain, String authType) {} - public boolean isServerTrusted(X509Certificate[] chain) { - return true; - } + public void checkServerTrusted(X509Certificate[] chain, String authType) {} }; return new X509TrustManager[]{tm}; } } -} \ No newline at end of file +}