|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory
public class TrustAllSSLSocketFactory
This class can be used as a SocketFactory with SSL-connections. Its purpose is to ensure that all certificates - no matter from which CA - are accepted to secure the SSL-connection.
| Constructor Summary | |
|---|---|
TrustAllSSLSocketFactory()
Standard constructor |
|
| Method Summary | |
|---|---|
Socket |
createSocket()
|
Socket |
createSocket(InetAddress inaddr,
int i)
|
Socket |
createSocket(InetAddress inaddr,
int i,
InetAddress inaddr1,
int j)
|
Socket |
createSocket(Socket socket,
String s,
int i,
boolean flag)
|
Socket |
createSocket(String s,
int i)
|
Socket |
createSocket(String s,
int i,
InetAddress inaddr,
int j)
|
static SocketFactory |
getDefault()
Factory method |
String[] |
getDefaultCipherSuites()
|
String[] |
getSupportedCipherSuites()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrustAllSSLSocketFactory()
| Method Detail |
|---|
public static SocketFactory getDefault()
public Socket createSocket(Socket socket,
String s,
int i,
boolean flag)
throws IOException
createSocket in class SSLSocketFactoryIOException
public Socket createSocket(InetAddress inaddr,
int i,
InetAddress inaddr1,
int j)
throws IOException
createSocket in class SocketFactoryIOException
public Socket createSocket(InetAddress inaddr,
int i)
throws IOException
createSocket in class SocketFactoryIOException
public Socket createSocket(String s,
int i,
InetAddress inaddr,
int j)
throws IOException
createSocket in class SocketFactoryIOException
public Socket createSocket(String s,
int i)
throws IOException
createSocket in class SocketFactoryIOException
public Socket createSocket()
throws IOException
createSocket in class SocketFactoryIOExceptionpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactory
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||