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

Change a channel ACL entry

This example (nChangeChanAclEntry.Java) changes a channels ACL entry.. For more information on this please see the ACL FAQ.

Java -DRNAME=someRNAME -DNAME=subjectName -DHOST=subjectHostname -DCHANNEL=channelName com.pcbsys.Nirvana.nAdminAPI.apps.nChangeChanAclEntry 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
CHANNEL is the name of the channel
permissions : is the permissions to grant/remove this ACL subject. These are added as agruments to the program. Preceding a permissition "+" will add the permission, and "-" will remove the permission. The following values are valid: list_acl modify_acl full, read write purge all_perms
Please see the ACL FAQ for more information.