dynamic-security-init.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "clients": [{
  3. "username": "admin",
  4. "textName": "Dynsec admin user",
  5. "password": "Rko31yHY12ryMoyZTBNIUsCPb5SDa4WmUP3Xe2+V6P+QOSW3Gj6IDmpl6zQsAjutb476zEYdBeTw9tU7WZ1new==",
  6. "salt": "Ezuo4G1TqYtTQDL/",
  7. "iterations": 101,
  8. "roles": [{
  9. "rolename": "admin"
  10. }]
  11. }],
  12. "roles": [{
  13. "rolename": "admin",
  14. "acls": [{
  15. "acltype": "publishClientSend",
  16. "topic": "$CONTROL/dynamic-security/#",
  17. "allow": true
  18. }, {
  19. "acltype": "publishClientReceive",
  20. "topic": "$CONTROL/dynamic-security/#",
  21. "allow": true
  22. }, {
  23. "acltype": "subscribePattern",
  24. "topic": "$CONTROL/dynamic-security/#",
  25. "allow": true
  26. }, {
  27. "acltype": "publishClientReceive",
  28. "topic": "$SYS/#",
  29. "allow": true
  30. }, {
  31. "acltype": "subscribePattern",
  32. "topic": "$SYS/#",
  33. "allow": true
  34. }, {
  35. "acltype": "publishClientReceive",
  36. "topic": "#",
  37. "allow": true
  38. }, {
  39. "acltype": "subscribePattern",
  40. "topic": "#",
  41. "allow": true
  42. }, {
  43. "acltype": "unsubscribePattern",
  44. "topic": "#",
  45. "allow": true
  46. }]
  47. }],
  48. "defaultACLAccess": {
  49. "publishClientSend": false,
  50. "publishClientReceive": true,
  51. "subscribe": false,
  52. "unsubscribe": true
  53. }
  54. }