org.jboss.axis.components.net
Class SunJSSESocketFactory

java.lang.Object
  extended byorg.jboss.axis.components.net.DefaultSocketFactory (src) 
      extended byorg.jboss.axis.components.net.JSSESocketFactory (src) 
          extended byorg.jboss.axis.components.net.SunJSSESocketFactory
All Implemented Interfaces:
SecureSocketFactory (src) , SocketFactory (src)
Direct Known Subclasses:
SunFakeTrustSocketFactory (src)

public class SunJSSESocketFactory
extends JSSESocketFactory (src)
implements SecureSocketFactory (src)

SSL socket factory. It _requires_ a valid RSA key and JSSE. (borrowed code from tomcat)


Field Summary
 
Fields inherited from class org.jboss.axis.components.net.JSSESocketFactory (src)
sslFactory
 
Fields inherited from class org.jboss.axis.components.net.DefaultSocketFactory (src)
attributes
 
Constructor Summary
SunJSSESocketFactory(java.util.Hashtable attributes)
          Constructor JSSESocketFactory
 
Method Summary
protected  com.sun.net.ssl.SSLContext getContext()
          gets a SSL Context
protected  void initFactory()
          Read the keystore, init the SSL socket factory
 
Methods inherited from class org.jboss.axis.components.net.JSSESocketFactory (src)
create
 
Methods inherited from class org.jboss.axis.components.net.DefaultSocketFactory (src)
isHostInNonProxyList, match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.axis.components.net.SocketFactory (src)
create
 

Constructor Detail

SunJSSESocketFactory

public SunJSSESocketFactory(java.util.Hashtable attributes)
Constructor JSSESocketFactory

Parameters:
attributes -
Method Detail

initFactory

protected void initFactory()
                    throws java.io.IOException
Read the keystore, init the SSL socket factory

Overrides:
initFactory in class JSSESocketFactory (src)
Throws:
java.io.IOException

getContext

protected com.sun.net.ssl.SSLContext getContext()
                                         throws java.lang.Exception
gets a SSL Context

Returns:
SSLContext
Throws:
java.lang.Exception