This is archived documentation for an older version of Nirvana (v2.0). Please refer to documentation for the latest version if required.

Add a Queue ACL entry

This example (nAddQueueACLEntry.Java) adds a new subject to a queue and adds the supplied permissoins. For more information on this please see the ACL FAQ.

Java -DRNAME=someRNAME -DNAME=subjectName -DHOST=subjectHostname -DQUEUE=queueName com.pcbsys.Nirvana.nAdminAPI.apps.nAddQueueACLEntry permissions=space separated permission

where :

RNAME is the realm name of the Nirvana server. (e.g. nsp://localhost:9000 ).
NAME is the name of the subject for the ACL entry
HOST is the subjects hostname
QUEUE is the name of the queue to add the ACL entry to
permissions : is the permissions to grant this ACL subject. These are added as agruments to the program. The following values are valid: list_acl modify_acl full last_eid read write purge pop -r
Please see the ACL FAQ for more information.