Update secure sample and SVRs for testing NonDevOwner client.
authorShujuan Chen <shujuan.chen@intel.com>
Thu, 21 Apr 2016 12:07:39 +0000 (14:07 +0200)
committerRandeep Singh <randeep.s@samsung.com>
Fri, 27 May 2016 09:18:40 +0000 (09:18 +0000)
commit6f6aa08d4e7ac7379a398155fe1bc1b96bf8bddc
tree05831a3b6d684e288330f8da2bc2528e6387ebd2
parentcd138773e32d8b7671c01da94611c71ee979977e
Update secure sample and SVRs for testing NonDevOwner client.

- Requests from DevOwner are allowed without checking ACL.
- Requests from NonDevOwner are checked against ACL against
  subjectuuid, permission and period-recurrence.

Change-Id: Icbf9b19f3fc6f2676b970c39dd0b74cea5d862bd
Signed-off-by: Shujuan Chen <shujuan.chen@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8365
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/stack/samples/linux/secure/SConscript
resource/csdk/stack/samples/linux/secure/occlientbasicops.cpp
resource/csdk/stack/samples/linux/secure/oic_svr_db_client_devowner.dat [moved from resource/csdk/stack/samples/linux/secure/oic_svr_db_client.dat with 100% similarity]
resource/csdk/stack/samples/linux/secure/oic_svr_db_client_devowner.json [moved from resource/csdk/stack/samples/linux/secure/oic_svr_db_client.json with 100% similarity]
resource/csdk/stack/samples/linux/secure/oic_svr_db_client_nondevowner.dat [new file with mode: 0644]
resource/csdk/stack/samples/linux/secure/oic_svr_db_client_nondevowner.json [new file with mode: 0644]
resource/csdk/stack/samples/linux/secure/oic_svr_db_server.dat
resource/csdk/stack/samples/linux/secure/oic_svr_db_server.json