Re: jaasAuthenticationPlugin ans sslContext in karaf

2017-11-22 Thread MillieretXavier
Hi all, more precision. For there is a bug when we use my configuration. I used the latest activeMq 5.15.2 I put my netbeans in debug mode. Inside the JaasCertificateAuthenticationBroker class, on addConnection the info.getTransportContext() return null, will a X509Certificate[] is expected. I a

Re: jaasAuthenticationPlugin ans sslContext in karaf

2017-11-22 Thread MillieretXavier
Hi Tim, I have more explanation but not the solution!!! I found this bug: https://issues.jboss.org/browse/ENTMQ-1154 it's the same behavior for my point. I use (for my test) only activemq 5.15.1 (the latest 5.15.2 zip file is corrupt!) in standalone (without Karaf) I reproduce the issue! I use q

Re: jaasAuthenticationPlugin ans sslContext in karaf

2017-11-21 Thread MillieretXavier
You right I try to have cert-based authentication for AMQP and password-based authentication for OpenWire Here my logs (DEBUG) just before a connection I would like to clarify that without the plugin jaasAuthenticationPlugin, it's works for a ssl connection. Like, if I put the pulgin, the sslconte

Re: jaasAuthenticationPlugin ans sslContext in karaf

2017-11-21 Thread Tim Bain
So are you trying to have cert-based authentication for AMQP and password-based authentication for OpenWire? Or are you trying to have cert-based authentication for AMQP and no authentication for OpenWire? Also, can you please post the error messages you get both with and without the plugin enable

Re: jaasAuthenticationPlugin ans sslContext in karaf

2017-11-21 Thread MillieretXavier
Hi all, Anybody have an idea? -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: jaasAuthenticationPlugin ans sslContext in karaf

2017-11-20 Thread MillieretXavier
Thx Tim, So 1. I follow this link http://docs.huihoo.com/fuse/esb/4.4/amq_security/Auth-JAAS-DualAuthentPlugin.html perhaps I am wrong??? 2. To add precision, I run karaf 3.0.7, and inside activemq 5.12.3. My goal is perhaps stupid, having a openwire without ssl (because wait only on localhost),

Re: jaasAuthenticationPlugin ans sslContext in karaf

2017-11-20 Thread Tim Bain
1. You referenced a forum post that told you how to do JAAS in this case; can you please provide a link? 2. If you run a standalone broker without the JAAS plugin, do both protocols work? How about if you configure the standalone broker to use JAAS directly rather than through Karaf? This sounds