activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Message-Level Authorization - for producers
Date Tue, 14 Mar 2017 02:06:00 GMT
Although I haven't done this myself, the documentation on custom
interceptors (http://activemq.apache.org/interceptors.html) sounds like
there are far more options available than just the one from the class you
referenced. The send() method would be the one I'd expect you'd want to
implement.

On Mar 7, 2017 7:14 AM, "Vince Cole" <activemq@vincecole.co.uk> wrote:

> I have a requirement for the broker to validate that the message
> destination
> (specified in the message producer's request) is allowed, given a
> (business-defined) set of rules (implemented in an external service) which
> determine (from the message content) what destination(s) would be
> permitted.
>
> I see in the documentation - bottom of page
> http://activemq.apache.org/security.html - that message level auth is
> possible.
>
> However, it looks like this is only available for consumers?
> The interface which the MLA plugin must implement only contains the method
> 'isAllowedToConsume'.
>
> I want my broker instance to perform this check when a producer tries to
> SEND a message into the broker.
>
> Is this possible, and if so, how?
>
> Thanks in advance.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Message-Level-Authorization-for-producers-tp4723168.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message