Modify GET request handler for /oic/sec/acl
authorjs126.lee <js126.lee@samsung.com>
Tue, 14 Jun 2016 05:40:31 +0000 (14:40 +0900)
committerRandeep Singh <randeep.s@samsung.com>
Wed, 22 Jun 2016 05:25:35 +0000 (05:25 +0000)
commit5109759af99f93abeb467de0732867d2413d12eb
tree570e3fadd842a935a08ded5e64182004dc330629
parent1a60514ef5d7c9a4f276ed8f99137997ef7667b9
Modify GET request handler for /oic/sec/acl

Issue: If 'subject' field is not included in REST request,
       a error occur on HandleACLGetRequest.
       This implementation does not meet the spec, and causes the failure with CTT.

Resolution: A server responds for GET 'oic/sec/acl', even if 'subject' field
            is not included in REST request.

Patch 1: Fixed this issue, and adding GetACL API for debugging only.
Patch 2: Rebase it on the latest master branch

Change-Id: Icb3869fee6039a076ee90146ae94eb527a88865c
Signed-off-by: js126.lee <js126.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8633
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Chul Lee <chuls.lee@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/provisioning/include/internal/secureresourceprovider.h
resource/csdk/security/provisioning/include/ocprovisioningmanager.h
resource/csdk/security/provisioning/sample/provisioningclient.c
resource/csdk/security/provisioning/src/ocprovisioningmanager.c
resource/csdk/security/provisioning/src/secureresourceprovider.c
resource/csdk/security/src/aclresource.c