org.apache.axis.components.net

Class IBMJSSESocketFactory

Implemented Interfaces:
SecureSocketFactory, SocketFactory
Known Direct Subclasses:
IBMFakeTrustSocketFactory

public class IBMJSSESocketFactory
extends JSSESocketFactory
implements SecureSocketFactory

SSL socket factory. It _requires_ a valid RSA key and JSSE. (borrowed code from tomcat)
Author:
Davanum Srinivas (dims@yahoo.com)

Field Summary

Fields inherited from class org.apache.axis.components.net.JSSESocketFactory

sslFactory

Fields inherited from class org.apache.axis.components.net.DefaultSocketFactory

CONNECT_TIMEOUT, attributes, log

Constructor Summary

IBMJSSESocketFactory(Hashtable attributes)
Constructor IBMJSSESocketFactory

Method Summary

protected SSLContext
getContext()
gets a SSL Context
protected void
initFactory()
Read the keystore, init the SSL socket factory

Methods inherited from class org.apache.axis.components.net.JSSESocketFactory

create, initFactory

Methods inherited from class org.apache.axis.components.net.DefaultSocketFactory

create, isHostInNonProxyList, match

Constructor Details

IBMJSSESocketFactory

public IBMJSSESocketFactory(Hashtable attributes)
Constructor IBMJSSESocketFactory
Parameters:
attributes -

Method Details

getContext

protected SSLContext getContext()
            throws Exception
gets a SSL Context
Returns:
SSLContext

initFactory

protected void initFactory()
            throws IOException
Read the keystore, init the SSL socket factory
Overrides:
initFactory in interface JSSESocketFactory

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.