Authorization plugin - don't know what to do with client attempting to write to weird advisory topic

2019-09-24 Thread Jędrzej Dudkiewicz
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

Re: nio+ssl w/programatic {key|trust}store configuration

2019-09-24 Thread paul woods
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 -