The <basic-security> element was supported in previous versions of Artemis, but 
support was removed when <jaas-security> matured enough to make 
<basic-security> unnecessary.


Justin

----- Original Message -----
From: "spruitt" <steve.pru...@hp.com>
To: users@activemq.apache.org
Sent: Thursday, January 14, 2016 10:45:55 AM
Subject: basic security tag in bootstrap.xml

Can someone post an example of for the <basic-security> tab in the
bootstrap.xml file.

I left the <jaas-security domain="activemq"/> tag in the file and added
this:

<basic-security>
   <users>file:${activemq.home}/etc/artemis-users.properties</users>
   <roles>file:${activemq.home}/etc/artemis-roles.properties</roles>
   <default-user>guest</default-user>
</basic-security>

Now Artemis broker throws a SAX parse exception
Invalid content was found starting with element 'basic-security'. One of
'{"http://activemq.org/schema":server}' is expected.





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

Reply via email to