[IOT-2419] Update the samples to run with security
authorGeorge Nash <george.nash@intel.com>
Tue, 12 Sep 2017 22:37:54 +0000 (15:37 -0700)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Fri, 15 Sep 2017 23:28:19 +0000 (23:28 +0000)
commitd5c90a29af8159ce19793e27ab452b7cfe7b2e8e
tree338684a3b8bc065edf0d5093f6de1aad5500c2d8
parentcb8e3b44a20b0e2ed98679ad41aa541dcd32d2b0
[IOT-2419] Update the samples to run with security

This uses the same acl files that were introduced in
https://gerrit.iotivity.org/gerrit/#/c/21489/
The simple server was updated to default to a secure interface.

Tested by running against each other and the C++
simpleserver simpleclient samples.

Bug: https://jira.iotivity.org/browse/IOT-2419
Change-Id: I623fc40759a6382568de572cedf9aa8f52fbfbe9
Signed-off-by: George Nash <george.nash@intel.com>
java/examples-java/simpleclient/SConscript
java/examples-java/simpleclient/src/main/assets/oic_svr_db_client.dat [new file with mode: 0644]
java/examples-java/simpleclient/src/main/assets/oic_svr_db_client.json
java/examples-java/simpleclient/src/main/java/org/iotivity/base/examples/SimpleClient.java
java/examples-java/simpleserver/SConscript
java/examples-java/simpleserver/src/main/assets/oic_svr_db_server.dat
java/examples-java/simpleserver/src/main/assets/oic_svr_db_server.json
java/examples-java/simpleserver/src/main/java/org/iotivity/base/examples/Light.java