站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 iiop API Documentation 英文版文档

SSLServerSocketFactory (JBoss IIOP Plugin API) - JBoss 4.0.1 sp1 iiop API Documentation 英文版文档


org.jboss.iiop.jacorb
Class SSLServerSocketFactory

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

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

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.

Version:
$Revision: 1.3 $
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)
           
 boolean isSSL(ServerSocket s)
           
 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
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

isSSL

public boolean isSSL(ServerSocket s)
Specified by:
isSSL in interface org.jacorb.orb.factory.SSLServerSocketFactory

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 © 2002 JBoss Group, LLC. All Rights Reserved.