How do I control server/client authentication in jsse?

Hello,

I'm writing some java RMI application over SSL via JSSE that comes with JDK1.4. So far, I tried the sample code and it went well.

My question is, from JSSE API or Sun's reference implementation API, how do I control server or client authentication? According to the SSL protocol, they are optional, but I didn't find anything that can, for example, turn off the server authentication from Sun's reference implementation, or, did I miss something?

Thanks in advance!

wsun68

[522 byte] By [wsun68] at [2007-9-26 1:53:40]
# 1
Maybe you can use this page and make it work with RMI. http://www.esus.com/javaindex/j2se/jdk1.2/javasecurity/jsse/jsseclientserver.htmlCheers,Joris
vdbjoris at 2007-6-29 3:05:06 > top of Java-index,Security,Cryptography...