JMXMP w/ TLS
Some years ago, I ran JMXMP with TLS using the jmx remote RI. It was very easy to set up.
Now I want to do the same thing, but want to use J2SE 1.5 as much as possible. According to the latest jmx remote RI docs, I should be able to use JMXMP by just adding the jmxremote_optional.jar to my Java 1.5 classpath.
I just want TLS (eventually with client auth, and I see that there is an env setting for that). The security examples do all sorts of other SASL stuff with password lookups. I thought I just wanted a simplification of that, since there are already classes and profiles clearly labelled as "SSL".
I certainly do not want to have to code callbacks and factories. I'm want to do the sockets to do the same damned thing they do when I use raw SSLSockets. I was able to do this with an older version of the remote RI.
I notice that if I set all of the env values, and all of the necessary JSSE system properties, a SSL socket is still not allocated by com.sun.jmx.remote.opt.security.TLSServerHandler. I am setting the profile to "TLS", but I notice that if I set it to garbage it is silently ignored, so who knows. I've tried setting a few System properties for telling about the provider package containing the Sun TLS profile (why I should have to tell it about Sun's standard TLS profile, I don't know).
I've worked on this for a solid 8 hours now, and from the very few discussions I see about this, I fear that I am expected to code half a dozen custom classes just to use vannilla TLS capability which is already present in the Sun-provided classes. Is this so?

