|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.net.SocketFactory
com.atlassian.crowd.directory.ssl.LdapHostnameVerificationSSLSocketFactory
public class LdapHostnameVerificationSSLSocketFactory
This SocketFactory needs to call
sun.security.ssl.SSLSocketFactoryImpl#trySetHostnameVerification so it goes out of its way to check for the
sun.security.ssl implementation of the security classes.
The Mac OS X packaging uses com.sun.net.ssl.internal.ssl, rather than sun.security,
so reflection is used to work with both.
| Method Summary | |
|---|---|
Socket |
createSocket()
|
Socket |
createSocket(InetAddress host,
int port)
|
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort)
|
Socket |
createSocket(String host,
int port)
|
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort)
|
static SocketFactory |
getDefault()
|
static boolean |
isInSunSslImplementationPackage(Class<?> c,
String expectedName)
The Mac OS X packaging uses com.sun.net.ssl.internal.ssl, rather than sun.security.ssl,
so this method checks both. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SocketFactory getDefault()
public static boolean isInSunSslImplementationPackage(Class<?> c,
String expectedName)
com.sun.net.ssl.internal.ssl, rather than sun.security.ssl,
so this method checks both.
public Socket createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort)
throws IOException
createSocket in class SocketFactoryIOException
public Socket createSocket(InetAddress host,
int port)
throws IOException
createSocket in class SocketFactoryIOException
public Socket createSocket(String host,
int port)
throws IOException,
UnknownHostException
createSocket in class SocketFactoryIOException
UnknownHostException
public Socket createSocket(String host,
int port,
InetAddress localHost,
int localPort)
throws IOException,
UnknownHostException
createSocket in class SocketFactoryIOException
UnknownHostException
public Socket createSocket()
throws IOException
createSocket in class SocketFactoryIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||