I wrote yet another certificate-based authentication/authorization
plugin. It reads CN from certificate provided by the client and
depending on what is in there it allows or dissalows
creation/deletion/writing to topics/queues. To test it I wrote a
simple Java client that uses OpenWire. Connection
Very old thread - but just in case someone comes accross this!
SSLContext ctx = SSLContext.getInstance("TLS"); // for nio
ctx.init(getKeyManager(), getTrustManager(), new SecureRandom());
SSLContext.setDefault(ctx);
Note javax.net.ssl.SSLContext and NOT org.apache.activemq.broker.SslContext
-