org.jboss.iiop.jacorb
Class SSLServerSocketFactory

java.lang.Object
  extended by org.jboss.iiop.jacorb.SSLServerSocketFactory
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, org.jacorb.orb.factory.ServerSocketFactory

public class SSLServerSocketFactory
extends Object
implements org.jacorb.orb.factory.ServerSocketFactory, org.apache.avalon.framework.configuration.Configurable

This implementation of the JacORB-specific interface org.jacorb.orb.factory.ServerSocketFactory 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.

Version:
$Revision: 63611 $
Author:
Francisco Reverbel

Constructor Summary
SSLServerSocketFactory(org.jacorb.orb.ORB orb)
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 ServerSocket createServerSocket(int port)
           
 ServerSocket createServerSocket(int port, int backlog)
           
 ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress)
           
 void switchToClientMode(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 IOException
Throws:
IOException
Method Detail

createServerSocket

public ServerSocket createServerSocket(int port)
                                throws IOException
Specified by:
createServerSocket in interface org.jacorb.orb.factory.ServerSocketFactory
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backlog)
                                throws IOException
Specified by:
createServerSocket in interface org.jacorb.orb.factory.ServerSocketFactory
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backlog,
                                       InetAddress ifAddress)
                                throws IOException
Specified by:
createServerSocket in interface org.jacorb.orb.factory.ServerSocketFactory
Throws:
IOException

switchToClientMode

public void switchToClientMode(Socket socket)

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.