|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jtds.ssl.SocketFactories
Used for acquiring a socket factory when SSL is enabled.
Nested Class Summary | |
private static class |
SocketFactories.TdsTlsSocketFactory
The socket factory for creating sockets based on the SSL setting. |
Constructor Summary | |
SocketFactories()
|
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 |
public SocketFactories()
Method Detail |
public static javax.net.SocketFactory getSocketFactory(java.lang.String ssl, java.net.Socket socket)
ssl
- the SSL settingsocket
- plain TCP/IP socket to wrap
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |