net.sourceforge.jtds.ssl
Class SocketFactoriesSUN

java.lang.Object
  extended bynet.sourceforge.jtds.ssl.SocketFactoriesSUN

public class SocketFactoriesSUN
extends java.lang.Object

Used for acquiring a socket factory when SSL is enabled.

Version:
$Id: SocketFactoriesSUN.java,v 1.1.2.1 2009-12-30 14:32:51 ickzon Exp $
Author:
Rob Worsnop, Mike Hutchinson

Nested Class Summary
private static class SocketFactoriesSUN.TdsTlsSocketFactory
          The socket factory for creating sockets based on the SSL setting.
 
Constructor Summary
SocketFactoriesSUN()
           
 
Method Summary
static javax.net.SocketFactory getSocketFactory(java.lang.String ssl, java.net.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketFactoriesSUN

public SocketFactoriesSUN()
Method Detail

getSocketFactory

public static javax.net.SocketFactory getSocketFactory(java.lang.String ssl,
                                                       java.net.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.

Parameters:
ssl - the SSL setting
socket - plain TCP/IP socket to wrap


Generated on October 27 2012