I'm trying to setup Spring remoting using RMI and SSL.

Now, the RMIServiceExporter correctly supports custom socketFactory for both client and server sockets, and for both the registry and the service objects.

The problem is how to configure the client: the RMIProxyFactoryBean doesn't seem to have any similar property, to tell him to use SSL RMI Socket factories, despite this bug ( http://opensource.atlassian.com/proj...browse/SPR-612 ) tells this support should be in for both client and server.

Am I missing something, or the support for the client is really missing, and I have to manually subclass RMIProxyFactoryBean to provide the needed properties for custom socket factories?