[ 
https://issues.apache.org/jira/browse/QPID-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867490#action_12867490
 ] 

Carl Trieloff commented on QPID-2539:
-------------------------------------


Martin,

Yes, I just sudo'ed them out from memory. If you want me to update them to be 
precise, I can do that.



Andrew,

RA: 1. I am not sure we need both NAME and QUEUE_NAME. Was there a specific 
reason ?


For acl on Bindings.  (acl for bind / unbind)

NAME is the exchange name
       (make_pair(acl::PROP_QUEUENAME, queueName));   ----  QUEUENAME is the 
queue name
       t(make_pair(acl::PROP_ROUTINGKEY, routingKey));


in regards to OWNER, INTERNAL, TEMPORARY, TCP_SESSION, REMOTE_ADDR  -- I don't 
see most these in the source code, where
did you get them from ??  It might be from when Aidan was working ACLv2 for the 
Java broker? or from a Acl patch yet committed (Rajith?)

Here is the full list supported currently by the C++ code base from AclModle.h


enum ObjectType {OBJ_QUEUE, OBJ_EXCHANGE, OBJ_BROKER, OBJ_LINK,
                 OBJ_METHOD, OBJECTSIZE}; // OBJECTSIZE must be last in list
enum Action {ACT_CONSUME, ACT_PUBLISH, ACT_CREATE, ACT_ACCESS, ACT_BIND,
             ACT_UNBIND, ACT_DELETE, ACT_PURGE, ACT_UPDATE,
             ACTIONSIZE}; // ACTIONSIZE must be last in list
enum Property {PROP_NAME, PROP_DURABLE, PROP_OWNER, PROP_ROUTINGKEY,
               PROP_PASSIVE, PROP_AUTODELETE, PROP_EXCLUSIVE, PROP_TYPE,
               PROP_ALTERNATE, PROP_QUEUENAME, PROP_SCHEMAPACKAGE,
               PROP_SCHEMACLASS, PROP_POLICYTYPE, PROP_MAXQUEUESIZE,
               PROP_MAXQUEUECOUNT};
enum AclResult {ALLOW, ALLOWLOG, DENY, DENYLOG};        


note OBJECTSIZE ACTIONSIZE are not types, just part of the parser code.

Carl.



> Update ACL file syntax to be clearer and add extra operations
> -------------------------------------------------------------
>
>                 Key: QPID-2539
>                 URL: https://issues.apache.org/jira/browse/QPID-2539
>             Project: Qpid
>          Issue Type: Sub-task
>          Components: Java Broker
>            Reporter: Andrew Kennedy
>             Fix For: 0.7
>
>         Attachments: acl.txt
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to