qpidd --help command and checking the output for ACL options:
$ qpidd --help ...[output truncated]... ACL Options: --acl-file FILE (policy.acl) The policy file to load from, loaded from data dir
--acl-file command with a path and filename. The filename should have a .acl extension:
$ qpidd --acl-file ./aclfilename.acl
You can now view the file with the cat command and edit it in your preferred text editor. If the path and filename is not found, qpidd will fail to start.
allowallow-logdenydeny-logconsumepublishcreateaccessbindunbinddeletepurgeupdatequeueexchangebrokerlinkmethodnamedurableroutingkeypassivepassive flag
autodeleteexclusiveexclusive flag
typealternatequeuenamequeue
schemapackageschemaclass# character is considered a comment and is ignored.
name1 is not the same as Name1 and create is not the same as CREATE
\ character
group or acl and with no preceding whitespace.
all matches all individuals, groups and actions
acl deny all all. If present in the file, all lines below it are ignored.
a-z, A-Z, 0-9, - and _
acl permission {<group-name>|<user-name>|"all"} {action|"all"} [object|"all"] [property=<property-value>]
ACL rules can also include a single object name (or the keyword all) and one or more property name value pairs in the form property=value
group admin ted@QPID martin@QPID group user-consume martin@QPID ted@QPID group group2 kim@QPID user-consume rob@QPID group publisher group2 \ tom@QPID andrew@QPID debbie@QPID
acl allow carlt@QPID create exchange name=carl.* acl deny rob@QPID create queue acl allow guest@QPID bind exchange name=amq.topic routingkey=stocks.rht.# acl allow user-consume create queue name=tmp.* acl allow publisher publish all durable=false acl allow publisher create queue name=RequestQueue acl allow consumer consume queue durable=true acl allow fred@QPID create all acl allow bob@QPID all queue acl allow admin all cl allow all consume queue acl allow all bind exchange
acl deny all all
guest to access and log some QMF management methods:
group allUsers guest@QPID .... acl deny-log allUsers create link acl deny-log allUsers access method name=connect acl deny-log allUsers access method name=echo