security: Example support SVR ACL v2 and fix PS
Update json file to support ACL from CSDK, inspired by:
resource/csdk/stack/samples/linux/secure/oic_svr_db_client_devowner.json
resource/csdk/stack/samples/linux/secure/oic_svr_db_server.json
Also add persistent storage to overload security dat file.
Make example working again using:
./simpleserver 2
./simpleclient
Observe registration action is successful
OBSERVE RESULT:
SequenceNumber: 0
state: true
power: 55
name: John's light
Note those .dat files were generated from master branch
using json2cbor tool automatically,
1.3-rel does not have the scanner generator yet.
Bug: https://jira.iotivity.org/browse/IOT-2443
Change-Id: Id457fedd74bf7540c2a223e4ab079076af1f2134
Origin: https://gerrit.iotivity.org/gerrit/#/c/21487/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>