You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by docscaa <do...@gmail.com> on 2018/01/17 09:33:11 UTC

What is difference b/w ACL and Authorization Roles

Hi,

 I was debugging activemq authorization plugin where I saw collections named
readAcl, readRoles and writeAcl, writeRole.





--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: What is difference b/w ACL and Authorization Roles

Posted by Tim Bain <tb...@alumni.duke.edu>.
The *Roles fields are Strings containing comma-separated list of the roles
that have a particular permission (read, write, admin). The *Acl fields are
collections formed by splitting the Strings apart at the commas. So in this
case ACL is simply the parsed/deserialized form of roles.

Reference:
https://github.com/apache/activemq/blob/master/activemq-broker/src/main/java/org/apache/activemq/security/AuthorizationEntry.java

On Wed, Jan 17, 2018 at 2:33 AM, docscaa <do...@gmail.com> wrote:

> Hi,
>
>  I was debugging activemq authorization plugin where I saw collections
> named
> readAcl, readRoles and writeAcl, writeRole.
>
>
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>