Repository: incubator-unomi Updated Branches: refs/heads/master e7054ad8f -> 2490bdc39
UNOMI-129 : Default unomi key and allowed events Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/2490bdc3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/2490bdc3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/2490bdc3 Branch: refs/heads/master Commit: 2490bdc39d9e62858ebcf3a7849469405f150924 Parents: e7054ad Author: Abdelkader Midani <amid...@apache.org> Authored: Tue Oct 31 15:08:46 2017 +0100 Committer: Abdelkader Midani <amid...@apache.org> Committed: Tue Oct 31 15:08:46 2017 +0100 ---------------------------------------------------------------------- services/src/main/resources/org.apache.unomi.thirdparty.cfg | 6 +++--- src/site/markdown/versions/master/configuration.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/2490bdc3/services/src/main/resources/org.apache.unomi.thirdparty.cfg ---------------------------------------------------------------------- diff --git a/services/src/main/resources/org.apache.unomi.thirdparty.cfg b/services/src/main/resources/org.apache.unomi.thirdparty.cfg index 81cdcaf..a4e6d5d 100644 --- a/services/src/main/resources/org.apache.unomi.thirdparty.cfg +++ b/services/src/main/resources/org.apache.unomi.thirdparty.cfg @@ -21,6 +21,6 @@ # Example : provider1 is allowed to send login and download events from # localhost , with key provided in X-Unomi-Peer # -# thirdparty.provider1.key=670c26d1cc413346c3b2fd9ce65dab41 -# thirdparty.provider1.ipAddresses=127.0.0.1,::1 -# thirdparty.provider1.allowedEvents=login,download +thirdparty.provider1.key=670c26d1cc413346c3b2fd9ce65dab41 +thirdparty.provider1.ipAddresses=127.0.0.1,::1 +thirdparty.provider1.allowedEvents=login,updateProperties http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/2490bdc3/src/site/markdown/versions/master/configuration.md ---------------------------------------------------------------------- diff --git a/src/site/markdown/versions/master/configuration.md b/src/site/markdown/versions/master/configuration.md index 7cc4c11..c8b1efa 100644 --- a/src/site/markdown/versions/master/configuration.md +++ b/src/site/markdown/versions/master/configuration.md @@ -58,7 +58,7 @@ trusted third party server, you need to add these 3 lines : thirdparty.provider1.key=secret-key thirdparty.provider1.ipAddresses=127.0.0.1,::1 - thirdparty.provider1.allowedEvents=login,download + thirdparty.provider1.allowedEvents=login,updateProperties The events set in allowedEvents will be secured and will only be accepted if the call comes from the specified IP address, and if the secret-key is passed in the X-Unomi-Peer header.