Re: Broker to Broker authentication using JAAS fails

2010-05-20 Thread James Casey
Jim, what version of ActiveMQ are you using ? This happened in 5.3 () but should be fixed in > 5.3.1. We have this working in production no problem. I see we express the URL in the NC differently: but that doesn't seem to be the problem.

Re: Fully programmatic authorization map

2010-05-20 Thread Jim Lloyd
Jim Newsham Thanks for sharing the code. Unfortunately I don't think I can use this method, for a couple reasons. The first is we only want auth & auth between brokers and our client code is all C++. The second is that we need to automatically accept new users (authenticated by their client certif

Broker to Broker authentication using JAAS fails

2010-05-20 Thread Jim Lloyd
I'm not able to establish a network connection between two brokers via an SSL transport when I turn on JAAS certificate authentication. I want to do this with a hub & spoke architecture, where one broker is the hub, and passively accepts network connections from spokes that use duplex connections.

Re: Fully programmatic authorization map

2010-05-20 Thread Jim Newsham
I'm running activemq embedded within our app, and configuring it programmatically (rather than using xml files). Here is how I configure the authorization plugin. I had to look at some of the source to figure this stuff out, as I unfortunately couldn't find it documented anywhere. Hopefull

Re: Fully programmatic authorization map

2010-05-20 Thread Jim Lloyd
Dejan and James, I'm looking at the JAAS plugins now and yes this approach for deriving the user and group from a certificate looks pretty clear, and this will save me a lot of time. Thanks! Can either of you give me a similar guidance for how I would do the AuthorizationMap piece? It looks like

RE: chat example doesnt work

2010-05-20 Thread Knight, Doug
I had the chat app up and running quite some time ago (circa AMQ 5.2). I seem to remember that when running everything on a single system (including browser clients) I had to run one browser client in IE, and another in FF, etc. Not sure if this still applies, my memory is sketchy on what we did

Re: chat example doesnt work

2010-05-20 Thread matzelito
nobody testet the chat is activemq with ajax multiuser capabale ? matzelito wrote: > > i tried the apachemq ajax-chat example.. with one window everything > works ok, > but if i open another browser it wont work anymoreis this an > one-user example ?? &-( > -- View this m

Re: Error downloading ActiveMQ with Maven

2010-05-20 Thread Spooky13
I could solve the issue myself. Seems to be a problem with our own repository cache/proxy and some outdated dependencies already existing. Using central repository directly works fine. Spooky13 wrote: > > I have added the ActiveMQ dependency to my POM file: > > > org.apache.activemq > ac

Re: Fully programmatic authorization map

2010-05-20 Thread Dejan Bosanac
Hi James, thanks for adding this info. I totally forgot to mention activemq-jaas. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, May 20, 2010 at 8:3

Re: Hopefully easy question: NoLocal doesn't appear to be working

2010-05-20 Thread Timothy Bish
On Wed, 2010-05-19 at 11:42 -0700, nathanmcdaniel wrote: > Hi All, > > Rather new to the JMS as a whole. I am using the ActiveMQ-CPP (3.1.2) client > to connect to the ActiveMQ server (5.3.2). > > I am receiving my own messages, and would like to stop! I am using code > extended from one of the e

Re: Fully programmatic authorization map

2010-05-20 Thread James Casey
Hi Jim, What Dejan has pointed you at is the classes that have all the various plugin methods for doing Auth in ActiveMQ by inserting a Broker object into the chain which is called during a connection. It would be possible to write a custom Broker subclass here that does what you want, but I thin

Re: Duplicate messages with a Durable Subscriber with networked brokers

2010-05-20 Thread Gary Tully
I wonder if https://issues.apache.org/activemq/browse/AMQ-2720 is relevant. Would be good to get a test case that proves this is broken on trunk. Possibly the following test can provide inspiration: http://fisheye6.cenqua.com/browse/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/us

Re: Fully programmatic authorization map

2010-05-20 Thread Dejan Bosanac
Hi Jim, the best way is to look at the source code of the current plugin implementation. You can find it in org.apache.activemq.security package. For a quick preview, you can use this URL: http://fisheye6.atlassian.com/browse/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/securi

Error downloading ActiveMQ with Maven

2010-05-20 Thread Spooky13
I have added the ActiveMQ dependency to my POM file: org.apache.activemq activemq-core 5.3.2 When I try to build my project I get the following error: [INFO] Unable to find resource 'org.apache.geronimo.specs:specs:pom:1.1-SNAPSHOT' [INFO] Error building POM (may not be this project's

does ActiveMQ-CPP 3.x support JAAS Authentication

2010-05-20 Thread jolly.Wang
the version : ActiveMQ 5.3.0, activemq-cpp 3.1.0 When I use a c++ client to connect the broker, the broker got these exceptions: - java.lang.SecurityException: User name or password is invalid. a