On 26/03/2024 03:35, Justin Bertram wrote:
In that case you're probably better off implementing your own security
manager [1]. ActiveMQ Artemis ships with three implementations [2] which
you can use as a reference:

  -
org.apache.activemq.artemis.spi.core.security.ActiveMQJAASSecurityManager
[3] (used by default by the standalone broker)
  -
org.apache.activemq.artemis.spi.core.security.ActiveMQBasicSecurityManager
[4]
  -
org.apache.activemq.artemis.spi.core.security.ActiveMQSecurityManagerImpl
[5]

If you're using
org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ to embed
the broker you can set the security manager using the setSecurityManager
method [6].

OK, thanks! That's the conclusion I was starting to lean towards.

Thankfully, I only have to support the AMQP case, so I think that makes things slightly easier with regard to handling SASL and the like.

--
Mark Raynsford | https://www.io7m.com

Reply via email to