spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
55.22k stars 37.57k forks source link

Add support to the remoting.rmi system to allow for custom socket factories [SPR-36] #4771

Closed spring-projects-issues closed 20 years ago

spring-projects-issues commented 20 years ago

Cameron Braid opened SPR-36 and commented

I have made some modifications to the RmiServiceExporter to allow specification of custom RMIServerSocketFactory(s) and RMIClientSocketFactory(s)

I have also created a spring support class for defining RMIClientSocketFactory(s) and RMIServerSocketFactory(s)

They are attached as a patch.

I think these (after your review and probably modifications) would make a valuable addition to this fine framework.


Affects: 1.0 M4

Attachments:

spring-projects-issues commented 20 years ago

Cameron Braid commented

I didn't completely implement all configuration properties of the socket factories.

The implementation was more for proof of concept.

As long as the spring RmiServiceExporter supports custom socket factories, people can implement their own beans to use here.

spring-projects-issues commented 20 years ago

Juergen Hoeller commented

Thanks for the enhancement - a good point! I'll consider including it ASAP, possible even within the 1.0 timeframe. Juergen

spring-projects-issues commented 20 years ago

Juergen Hoeller commented

I've added "clientSocketFactory" and "serverSocketFactory" properties to RmiServiceExporter, to be able to plug in custom socket factories. However, I won't introduce pre-built RMI socket factories such as SSL support for Spring 1.0; this will have to wait for the 1.1 timeframe. Juergen

spring-projects-issues commented 20 years ago

Juergen Hoeller commented

Added the fundamental hooks to RmiServiceExporter for 1.0 final; no pre-built RMI socket factories included at this time. Juergen