| java.lang.Object net.sourceforge.jtds.ssl.SocketFactories
SocketFactories | public class SocketFactories (Code) | | Used for acquiring a socket factory when SSL is enabled.
author: Rob Worsnop author: Mike Hutchinson version: $Id: SocketFactories.java,v 1.8 2007/07/08 17:28:24 bheineman Exp $ |
Method Summary | |
public static SocketFactory | getSocketFactory(String ssl, Socket socket) Returns a socket factory, the behavior of which will depend on the SSL
setting and whether or not the DB server supports SSL. |
getSocketFactory | public static SocketFactory getSocketFactory(String ssl, Socket socket)(Code) | | Returns a socket factory, the behavior of which will depend on the SSL
setting and whether or not the DB server supports SSL.
Parameters: ssl - the SSL setting Parameters: socket - plain TCP/IP socket to wrap |
|
|