Add ACLs to java SimpleClientService so example runs when SECURED=1
authorGeorge Nash <george.nash@intel.com>
Fri, 13 Jan 2017 22:53:22 +0000 (14:53 -0800)
committerRick Bell <richard.s.bell@intel.com>
Mon, 30 Jan 2017 19:24:50 +0000 (19:24 +0000)
commit2a4313fa8425c6a5403ba1bcd74e1358e384d272
tree8a580b8147c433fbc38175eacf10a1d5e41d9b7d
parentb5ee8f9a2a0245ccf580080370a6d490708c06c7
Add ACLs to java SimpleClientService so example runs when SECURED=1

The ioc_svr_db_server ACL file is a copy of the ACL file from
resource/examples. This currently installs the .dat file from
the simpleserver sample.

Build:
scons BUILD_JAVA=1

Run example:
export LD_LIBRARY_PATH=<iotivity>/out/linux/x86_64/release/

java -cp java/examples-java/simpleclientserver/build/libs/simpleclientserver.jar:\
java/iotivity-linux/build/libs/iotivity-linux.jar \
org.iotivity.base.examples.SimpleClientServer

Change-Id: I02617ad852231a730cdf75f8a0b01c01ee0daeb2
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16399
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
java/SConscript
java/examples-java/simpleclientserver/src/main/java/org/iotivity/base/examples/SimpleClientServer.java