|
||||||||||
| 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 | |
|---|---|
java.net.Socket |
createSocket()
|
java.net.Socket |
createSocket(java.net.InetAddress host,
int port)
|
java.net.Socket |
createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddress,
int localPort)
|
java.net.Socket |
createSocket(java.lang.String host,
int port)
|
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.net.InetAddress localHost,
int localPort)
|
static javax.net.SocketFactory |
getDefault()
|
static boolean |
isInSunSslImplementationPackage(java.lang.Class<?> c,
java.lang.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 javax.net.SocketFactory getDefault()
public static boolean isInSunSslImplementationPackage(java.lang.Class<?> c,
java.lang.String expectedName)
com.sun.net.ssl.internal.ssl, rather than sun.security.ssl,
so this method checks both.
public java.net.Socket createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddress,
int localPort)
throws java.io.IOException
createSocket in class javax.net.SocketFactoryjava.io.IOException
public java.net.Socket createSocket(java.net.InetAddress host,
int port)
throws java.io.IOException
createSocket in class javax.net.SocketFactoryjava.io.IOException
public java.net.Socket createSocket(java.lang.String host,
int port)
throws java.io.IOException,
java.net.UnknownHostException
createSocket in class javax.net.SocketFactoryjava.io.IOException
java.net.UnknownHostException
public java.net.Socket createSocket(java.lang.String host,
int port,
java.net.InetAddress localHost,
int localPort)
throws java.io.IOException,
java.net.UnknownHostException
createSocket in class javax.net.SocketFactoryjava.io.IOException
java.net.UnknownHostException
public java.net.Socket createSocket()
throws java.io.IOException
createSocket in class javax.net.SocketFactoryjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||