Thank you Tim -

I was afraid you were going to say that :-)

I was looking at the SimpleAuthenticationPlugin / SimpleAuthenticationBroker, 
and I have an idea how to do this.  The one thing I’m not sure about is how I 
can tell when the connection is coming via a VM URL - do you have any hints on 
that?


> On Mar 21, 2018, at 7:21 PM, Tim Bain <tb...@alumni.duke.edu> wrote:
> 
> I'm not sure there's a built-in way to do this without writing any code,
> but you should be able to write a simple security plugin that allows you to
> allow or deny connections based on their transport and whether they are
> anonymous. The bottom of http://activemq.apache.org/security.html has
> details about how to get started.
> 
> Tim
> 
> On Wed, Mar 21, 2018, 6:08 PM Quinn Stevenson <qu...@pronoia-solutions.com>
> wrote:
> 
>> I have several components running inside the same JVM as ActiveMQ, and
>> they connect to the broker using a vm URL.  Guest access to the broker has
>> been disabled for security reasons, but I’d like the embedded components to
>> be able to connect to the broker without a username or password.
>> 
>> Is there a way to configure ActiveMQ to allow anonymous/guest access for
>> VM connections only?
>> 
>> 
>> 
>> 

Reply via email to