On 3/27/07, goldi <[EMAIL PROTECTED]> wrote:
Hi everybody, I have configured a „JmsInUsingJCABinding" component exposing a topic. To this topic subscribe some clients outside of the ESB using the ActiveMQ API. Everything works fine. Now I want to secure this component, so that just clients can subscribe to the topic who have an expected login. I know that I can make a component secure while setting <sm:authorizationEntry service="my:Service" roles="myClients"/> this in the "secure.xml" and I know that I have to set login and password in the propertie files. But I don't know where I have to set login and password on the client side. The following doesn't work: ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory(user, password, url);
If you want to secure the topic via ActiveMQ and the topic, see the ActiveMQ security documentation: http://activemq.apache.org/security.html If you want to secure the component via ServiceMix, see the ServiceMix security documentation: http://incubator.apache.org/servicemix/security.html Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache Geronimo - http://geronimo.apache.org/ Apache ActiveMQ - http://activemq.org/ Apache ServiceMix - http://servicemix.org/ Castor - http://castor.org/
