org.jboss.iiop.jacorb
Class SSLServerSocketFactory

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

public class SSLServerSocketFactory
extends java.lang.Object

This implementation of the JacORB-specific interface org.jacorb.orb.factory.SSLServerSocketFactory 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
SSLServerSocketFactory(org.jacorb.orb.ORB orb)
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 java.net.ServerSocket createServerSocket(int port)
           
 java.net.ServerSocket createServerSocket(int port, int backlog)
           
 java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress ifAddress)
           
 boolean isSSL(java.net.ServerSocket s)
           
 void switchToClientMode(java.net.Socket socket)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLServerSocketFactory

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

createServerSocket

public java.net.ServerSocket createServerSocket(int port)
                                         throws java.io.IOException
Throws:
java.io.IOException

createServerSocket

public java.net.ServerSocket createServerSocket(int port,
                                                int backlog)
                                         throws java.io.IOException
Throws:
java.io.IOException

createServerSocket

public java.net.ServerSocket createServerSocket(int port,
                                                int backlog,
                                                java.net.InetAddress ifAddress)
                                         throws java.io.IOException
Throws:
java.io.IOException

isSSL

public boolean isSSL(java.net.ServerSocket s)

switchToClientMode

public void switchToClientMode(java.net.Socket socket)

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