geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dain Sundstrom (JIRA)" <...@geronimo.apache.org>
Subject [jira] Updated: (GERONIMO-704) Pluggable SocketFactory to RMIRegistryGBean
Date Wed, 19 Apr 2006 00:14:27 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-704?page=all ]

Dain Sundstrom updated GERONIMO-704:
------------------------------------

        Summary: Pluggable SocketFactory to RMIRegistryGBean  (was: Can't set listen host/IP
for RMI Registry)
           type: New Feature  (was: Bug)
    Description: 
It would be nice to be able to supply a custom socket factory for the RMIRegistryGBean.  This
would allow us to easily add SSL and host based authorization.  This would also allow us to
limit the addresses to which the RMIRegistryGBean binds.  Currently, this service always binds
to all available hosts on the local machine.

I suggest we create a RMISocketFactoryGBean which extends java.rmi.server.RMISocketFactory.
 Then we add ClientSocketFactory and SererSocketFactory references to the RMIRegistryGBean
which will pass them to createRegistry(int port,  RMIClientSocketFactory csf, RMIServerSocketFactory
ssf) to create the registry.

  was:
The RMI Registry GBean has a configuration attribute for a port, but not for a listen hostname/IP.
 It should have attributes for both.  The class in question is:

geronimo/modules/system/src/java/org/apache/geronimo/system/rmi/RMIRegistryService.java

When this change is made, the getAddress method should be changed to return the correct listen
host/IP instead of 0.0.0.0.

      Assign To:     (was: Dain Sundstrom)

> Pluggable SocketFactory to RMIRegistryGBean
> -------------------------------------------
>
>          Key: GERONIMO-704
>          URL: http://issues.apache.org/jira/browse/GERONIMO-704
>      Project: Geronimo
>         Type: New Feature

>   Components: core
>     Versions: 1.0-M3
>     Reporter: Aaron Mulder
>      Fix For: 1.2

>
> It would be nice to be able to supply a custom socket factory for the RMIRegistryGBean.
 This would allow us to easily add SSL and host based authorization.  This would also allow
us to limit the addresses to which the RMIRegistryGBean binds.  Currently, this service always
binds to all available hosts on the local machine.
> I suggest we create a RMISocketFactoryGBean which extends java.rmi.server.RMISocketFactory.
 Then we add ClientSocketFactory and SererSocketFactory references to the RMIRegistryGBean
which will pass them to createRegistry(int port,  RMIClientSocketFactory csf, RMIServerSocketFactory
ssf) to create the registry.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message