I would suggest simply adding support for externalizing the RMIServerSocketFactory
and RMIClientSocketFactory from the 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker
class. Right now it exports itself in the start method:

   public void start() throws Exception
   {
    ...
         // Export CI
         UnicastRemoteObject.exportObject(this, rmiPort);
     ...
    }

Change this to:

   RMIClientSocketFactory csf; // MetaData configurable
   RMIServerSocketFactory ssf;
   public void start() throws Exception
   {
    ...
         // Export CI
         UnicastRemoteObject.exportObject(this, rmiPort, csf, ssf);
     ...
    }

and you have the ability to use SSL and a whole lot more.

----- Original Message ----- 
From: "Dan Christopherson" <[EMAIL PROTECTED]>
To: "JBoss-User" <[EMAIL PROTECTED]>
Cc: "Ole Husgaard" <[EMAIL PROTECTED]>
Sent: Wednesday, March 07, 2001 1:03 PM
Subject: Re: AW: [jBoss-User] RMI over SSL with JBoss


> OK, now back to the topic.
> 
> Where should we install an SSL socket factory in JBoss? An MBean? A new
> ContainerInvoker?
> 
> Or, to support encrypted sessions without SSL, just write a
> ContainerInvoker that passes encrypted objects?
> 
> -- 
> Dan Christopherson (danch) 
> nVisia Technical Architect (www.nvisia.com)
> 
> Opinions expressed are mine and do not neccessarily reflect any 
> position or opinion of nVISIA.
> 
> ---------------------------------------------------------------------------
> If you're a capitalist and you have the best goods and they're 
> free, you don't have to proselytize, you just have to wait.
> -Eben Moglen
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> 
> 



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to