IOT-2443 Fix simpleserver acls for non-secure 15/22915/2
authorGeorge Nash <george.nash@intel.com>
Wed, 18 Oct 2017 22:47:29 +0000 (15:47 -0700)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Thu, 19 Oct 2017 17:26:14 +0000 (17:26 +0000)
Fix the simplerserver acls so the non-secure run
option will also work as well as the secure option.

Bug: https://jira.iotivity.org/browse/IOT-2443
Change-Id: I27b8aaf3db0ece5ad08a16d451cecb26fe8cd3a7
Signed-off-by: George Nash <george.nash@intel.com>
resource/examples/oic_svr_db_server.dat
resource/examples/oic_svr_db_server.json

index ca853b3..e46c1f1 100644 (file)
Binary files a/resource/examples/oic_svr_db_server.dat and b/resource/examples/oic_svr_db_server.dat differ
index 440023c..814f4b7 100644 (file)
                 "subject": { "uuid": "31393139-3139-3139-3139-313931393139" },
                 "resources": [{ "href": "/a/light" }],
                 "permission": 7
+            },
+            {
+                "aceid": 5,
+                "subject": { "conntype": "anon-clear" },
+                "resources": [{ "href": "/a/light" }],
+                "permission": 7
             }
         ],
         "rowneruuid" : "31313131-3131-3131-3131-313131313131"