public class AxisSecureSocketFactory
extends org.apache.axis.components.net.DefaultSocketFactory
implements org.apache.axis.components.net.SecureSocketFactory
// ConnectionParameter connParam = ... get from ConfigurationProvider
AxisSecureSocketFactory.initialize(connParam);
JSSESocketFactory, the
method initialize() has been added.| Constructor and Description |
|---|
AxisSecureSocketFactory(Hashtable attributes)
Constructor for AxisSecureSocketFactory.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
create(String host,
int port,
StringBuffer otherHeaders,
org.apache.axis.components.net.BooleanHolder useFullURL)
creates a secure socket
|
static void |
initialize(SSLSocketFactory ssf)
Initializes the factory by setting the connection parameters to be used for
setting the secure socket factory, and by setting the system property
axis.socketSecureFactory. |
public AxisSecureSocketFactory(Hashtable attributes)
attributes - ???public static void initialize(SSLSocketFactory ssf) throws IOException, GeneralSecurityException
axis.socketSecureFactory.ssf - SSLSocketFactory to initialize withIOExceptionGeneralSecurityExceptionpublic Socket create(String host, int port, StringBuffer otherHeaders, org.apache.axis.components.net.BooleanHolder useFullURL) throws Exception
create in interface org.apache.axis.components.net.SocketFactorycreate in class org.apache.axis.components.net.DefaultSocketFactoryhost - port - otherHeaders - useFullURL - ExceptionCopyright © 2016. All Rights Reserved.