Class BlindSslSocketFactory
java.lang.Object
javax.net.SocketFactory
edu.internet2.middleware.grouperClient.ssl.BlindSslSocketFactory
BlindSSLSocketFactoryTest
Simple test to show an Active Directory (LDAP)
and HTTPS connection without verifying the
server's certificate.
From: http://blog.platinumsolutions.com/node/79
http://blog.platinumsolutions.com/files/BlindSSLSocketFactoryTest.java.txt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSocket(String arg0, int arg1) createSocket(String arg0, int arg1, InetAddress arg2, int arg3) createSocket(InetAddress arg0, int arg1) createSocket(InetAddress arg0, int arg1, InetAddress arg2, int arg3) static SocketFactorystatic voidOur test...Methods inherited from class javax.net.SocketFactory
createSocket
-
Constructor Details
-
BlindSslSocketFactory
public BlindSslSocketFactory()
-
-
Method Details
-
getDefault
- See Also:
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOExceptionUnknownHostException- See Also:
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException- See Also:
-
createSocket
public Socket createSocket(String arg0, int arg1, InetAddress arg2, int arg3) throws IOException, UnknownHostException - Specified by:
createSocketin classSocketFactory- Throws:
IOExceptionUnknownHostException- See Also:
-
createSocket
public Socket createSocket(InetAddress arg0, int arg1, InetAddress arg2, int arg3) throws IOException - Specified by:
createSocketin classSocketFactory- Throws:
IOException- See Also:
-
main
Our test...- Parameters:
args-
-