RMI and SSLSession

Hi!

I am trying to develop an application using JSSE and RMI. I have used the sample RMI examples to establish a secure connection between client and server, using both client and server authentication. Now to the problem. I want the server to be able to get information about what certificates that has been used by the client to establish the connection, that is information stored in a SSLSession object.

In my application the server should make decisions based on the client ID derived from the client certificate.

So, how do I get an SSLSession object on the server side when using RMI? Please show example code or similar.

Andreas Johnsson

[684 byte] By [andreas_johnsson] at [2007-9-26 7:30:31]
# 1

hi johnson,

actually i'm searching for SSL implemention in RMI

could u pls guide me with prototype of RMI - SSL, it would highly helpful for me.

could u pls mail me regarding this RMI - SSL prototype

looking for ur mail

my mail id is

shafeeq@hotmail.com

ShafeeqA at 2007-7-1 17:27:43 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 2
Hi Andreas Johnsson,I'm sorry, but I don't know how a serverSocket can obtain the information of the SSLSession, but if you have alredy found the solution to the problem i'm very interested in it.Thanks,
EliseoH at 2007-7-1 17:27:43 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...