Link beetween JSSE and JAAS
1 posts in topic
Flat View  Flat View

Posted By:   Samuel_Richard
Posted On:   Monday, May 26, 2003 02:55 AM


I have developped an RMI based application and I want to secure it.
I found how to create specific RMISocketfactory in order to use client and server authentication, I also manage to use JAAS authentication to authenticate the client on the client host.
But, actually there is no link between the certificate I use for authentication (path specified in the JAAS configuration file) and the one used for the JSSE secured communication (path specified with the -Djavax.net.ssl.keyStore property). Is there a way of setting the latter property with information retrieved from the authentication step? or does I do something wrong?

Thanks for your help.

Re: Link beetween JSSE and JAAS

Posted By:   Eugene_Kuleshov  
Posted On:   Monday, May 26, 2003 06:12 AM

I guess that you are doing your JAAS auth after establishing connection over SSL (using JSSE). In this case it is already too late to change the cetificate for your connection.
About | Sitemap | Contact