File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes RMI encrytion question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI encrytion question" Watch "RMI encrytion question" New topic

RMI encrytion question

Eric Fox

Joined: Nov 24, 2003
Posts: 3
I was wondering if RMI is sent through an encrypted tunnel, like using SSH? If not does anybody know how I would be able to send it through a SSH tunnel?
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Is? No.

Can be? Yes.

This page provides details and code for how it can be done. There are probably many other examples online of how to do this, and I seem to recall that the O'Reilly "Java RMI" book also provided examples of RMI over SSL.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: RMI encrytion question
It's not a secret anymore!