org.jboss.iiop.jacorb
Class SSLSocketFactory

java.lang.Object
  extended byorg.jboss.iiop.jacorb.SSLSocketFactory

public class SSLSocketFactory
extends java.lang.Object

This implementation of the JacORB-specific interface org.jacorb.orb.factory.SocketFactory uses the JSSE KeyManagerFactory and TrustManagerFactory objects encapsulated by a JBossSX SecurityDomain. It looks up the org.jboss.security.SecurityDomain instance bound to the name CorbaORBService.SSL_DOMAIN in the JBoss registry.


Constructor Summary
SSLSocketFactory(org.jacorb.orb.ORB orb)
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 java.net.Socket createSocket(java.lang.String host, int port)
           
 boolean isSSL(java.net.Socket s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLSocketFactory

public SSLSocketFactory(org.jacorb.orb.ORB orb)
                 throws java.io.IOException
Method Detail

createSocket

public java.net.Socket createSocket(java.lang.String host,
                                    int port)
                             throws java.io.IOException,
                                    java.net.UnknownHostException
Throws:
java.io.IOException
java.net.UnknownHostException

isSSL

public boolean isSSL(java.net.Socket s)

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Throws:
org.apache.avalon.framework.configuration.ConfigurationException