org.openorb.ssliop
Class SSLContextFinder

java.lang.Object
  |
  +--org.openorb.ssliop.SSLContextFinder
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled

public class SSLContextFinder
extends java.lang.Object
implements org.apache.avalon.framework.logger.LogEnabled

Creates SSL contexts. In most applications there will only be a single instance of this class, this differs from most other orb parts in which there is one per VM... This can be overloaded by an application to provide extended functionality if required. Overloading classes are encouraged to use identical property keys.

Author:
Chris Wood

Constructor Summary
SSLContextFinder(org.openorb.CORBA.kernel.ORBLoader loader)
          Default construction from properties.
 
Method Summary
 void enableLogging(org.apache.avalon.framework.logger.Logger logger)
           
 javax.net.ssl.SSLServerSocketFactory getServerSocketFactory()
          Returns the configured server socket factory.
 javax.net.ssl.SSLSocketFactory getSocketFactory()
          Returns the configured socket factory.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLContextFinder

public SSLContextFinder(org.openorb.CORBA.kernel.ORBLoader loader)
Default construction from properties. Subclasses should implement a constructor with an identical signature.
Method Detail

enableLogging

public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
Specified by:
enableLogging in interface org.apache.avalon.framework.logger.LogEnabled

getServerSocketFactory

public javax.net.ssl.SSLServerSocketFactory getServerSocketFactory()
Returns the configured server socket factory.

getSocketFactory

public javax.net.ssl.SSLSocketFactory getSocketFactory()
Returns the configured socket factory.