[IOT-2271] [IOT-2308] fix hard-coded ACL for discovery and onboarding 71/19971/12
authorNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Wed, 17 May 2017 02:34:21 +0000 (19:34 -0700)
committerRandeep Singh <randeep.s@samsung.com>
Mon, 22 May 2017 06:53:53 +0000 (06:53 +0000)
commit68dd712a1e7e87946a35fa41d3bea196efcd24d2
tree66f5936aa79886d54aa73a4d96f9d8fbf880fc1d
parent043fef01bb5552562747ca01d548499445efeb4f
[IOT-2271] [IOT-2308] fix hard-coded ACL for discovery and onboarding

The GetDefaultACL() function needed to be updated to /acl2 format.
Fixed the printACL() function to support ace2 as well.
Fixed aclresourcetest.cpp unit tests.
Updated related .json and .dat files.

Change-Id: Id1a14067e3c9d743cab489c733486fcea1e91d52
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19971
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dmitriy Zhuravlev <d.zhuravlev@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/include/internal/acl_logging.h
resource/csdk/security/src/aclresource.c
resource/csdk/security/src/policyengine.c
resource/csdk/security/unittest/aclresourcetest.cpp
resource/csdk/security/unittest/oic_unittest_acl1.dat
resource/csdk/security/unittest/oic_unittest_acl1.json
resource/csdk/security/unittest/oic_unittest_default_acl.dat
resource/csdk/security/unittest/oic_unittest_default_acl.json