Added AMS functionality to support on-demand ACL provisioning.
authorSachin Agrawal <sachin.agrawal@intel.com>
Sun, 20 Sep 2015 00:31:39 +0000 (17:31 -0700)
committerSachin Agrawal <sachin.agrawal@intel.com>
Sun, 20 Sep 2015 01:28:49 +0000 (01:28 +0000)
commit24c563ec03a6b314ab7c878d217ea83d02e5ecd9
tree55920ad1287f46c62f67e799d73ad2e754e1a67c
parent2fb4e1c948236c524e4900971980370762130124
Added AMS functionality to support on-demand ACL provisioning.

This change includes the new "AMS Manager" (amsmgr.c) module, as well
as modifications to the SRM proper, policy engine, and doxmresource,
which are required to enable Access Management Service functionality in
the SRM.

Change-Id: Ibf10e00bebeeafd238ac083c7d45c1bbf7a46dd3
Signed-off-by: Shilpa Sodani <shilpa.a.sodani@intel.com>
Signed-off-by: Sachin Agrawal <sachin.agrawal@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2486
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
20 files changed:
resource/csdk/security/SConscript
resource/csdk/security/include/internal/aclresource.h
resource/csdk/security/include/internal/amaclresource.h
resource/csdk/security/include/internal/amsmgr.h [new file with mode: 0644]
resource/csdk/security/include/internal/policyengine.h
resource/csdk/security/include/internal/secureresourcemanager.h
resource/csdk/security/include/securevirtualresourcetypes.h
resource/csdk/security/src/aclresource.c
resource/csdk/security/src/amaclresource.c
resource/csdk/security/src/amsmgr.c [new file with mode: 0644]
resource/csdk/security/src/policyengine.c
resource/csdk/security/src/secureresourcemanager.c
resource/csdk/security/unittest/policyengine.cpp
resource/csdk/stack/samples/linux/secure/README [new file with mode: 0644]
resource/csdk/stack/samples/linux/secure/SConscript
resource/csdk/stack/samples/linux/secure/ocamsservice.cpp [new file with mode: 0644]
resource/csdk/stack/samples/linux/secure/oic_amss_db.json [new file with mode: 0644]
resource/csdk/stack/samples/linux/secure/oic_svr_db_server.json
resource/provisioning/examples/SConscript
resource/provisioning/unittests/SConscript