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

