Package org.apache.axis.components.net
Class IBMJSSESocketFactory
java.lang.Object
org.apache.axis.components.net.DefaultSocketFactory
org.apache.axis.components.net.JSSESocketFactory
org.apache.axis.components.net.IBMJSSESocketFactory
- All Implemented Interfaces:
SecureSocketFactory,SocketFactory
- Direct Known Subclasses:
IBMFakeTrustSocketFactory
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
sslFactoryFields inherited from class org.apache.axis.components.net.DefaultSocketFactory
attributes, CONNECT_TIMEOUT, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SSLContextgets a SSL Contextprotected voidRead the keystore, init the SSL socket factoryMethods inherited from class org.apache.axis.components.net.JSSESocketFactory
createMethods inherited from class org.apache.axis.components.net.DefaultSocketFactory
isHostInNonProxyList, matchMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axis.components.net.SocketFactory
create
-
Constructor Details
-
IBMJSSESocketFactory
Constructor IBMJSSESocketFactory- Parameters:
attributes-
-
-
Method Details
-
initFactory
Read the keystore, init the SSL socket factory- Overrides:
initFactoryin classJSSESocketFactory- Throws:
IOException
-
getContext
gets a SSL Context- Returns:
- SSLContext
- Throws:
Exception
-