Looking at your etc.zip...

Your bootstrap.xml looks fine.  The jaas-security domain is "activemq" (which 
is defined in login.config).

Your login.config looks fine.  It's using the default configuration.

However, your artemis-users.properties and artemis-roles.properties don't 
contain the users/roles that the example expects to be there.  That's why you 
get an authentication failure for the user "bill" when you run the example 
against your broker (e.g. using 'mvn -PnoServer verify').

Also, your broker.xml doesn't have the security-setting configuration that the 
example expects so even if you added the right users and roles to the 
properties files you'd still get failures when running the example against your 
broker.

You can take a look at each of these files from the example (i.e. 
artemis-users.properties, artemis-roles.properties, and broker.xml) to see what 
you need to change in your configuration to run the example successfully 
against your broker.

Just to be clear, the output you shared console2.txt is what I would expect 
from .  It looks to me like everything is working properly given the 
circumstances.


Justin

----- Original Message -----
From: "spruitt" <steve.pru...@hp.com>
To: users@activemq.apache.org
Sent: Tuesday, January 19, 2016 9:38:57 AM
Subject: Re: basic security tag in bootstrap.xml

yeah. i messed up.  Here is the console when not starting broker manually.

Also, here are the config files I have been working with on my broker.

Hope this makes sense. console2.txt
<http://activemq.2283324.n4.nabble.com/file/n4706166/console2.txt>   etc.zip
<http://activemq.2283324.n4.nabble.com/file/n4706166/etc.zip>  



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/basic-security-tag-in-bootstrap-xml-tp4705994p4706166.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to