public class AcceptAllSocketFactory
extends org.apache.http.conn.ssl.SSLSocketFactory
implements com.netflix.client.IClientConfigAware
| Constructor and Description |
|---|
AcceptAllSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
initWithNiwsConfig(com.netflix.client.config.IClientConfig clientConfig)
In the case of this factory the intent is to ensure that a truststore is not set,
as this does not make sense in the context of an accept-all policy
|
connectSocket, connectSocket, createLayeredSocket, createLayeredSocket, createSocket, createSocket, createSocket, getHostnameVerifier, getSocketFactory, getSystemSocketFactory, isSecure, prepareSocket, setHostnameVerifierpublic AcceptAllSocketFactory()
throws java.security.KeyManagementException,
java.security.UnrecoverableKeyException,
java.security.NoSuchAlgorithmException,
java.security.KeyStoreException
java.security.KeyManagementExceptionjava.security.UnrecoverableKeyExceptionjava.security.NoSuchAlgorithmExceptionjava.security.KeyStoreExceptionpublic void initWithNiwsConfig(com.netflix.client.config.IClientConfig clientConfig)
initWithNiwsConfig in interface com.netflix.client.IClientConfigAware