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.
Attachments
Issue Links
- relates to
-
GERONIMO-933 Move & Improve RMI naming service
- Closed