summaryrefslogtreecommitdiff
path: root/test/config
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-02-27 13:53:32 +0100
committerMagnus Ahltorp <map@kth.se>2015-02-27 14:24:26 +0100
commit90bd73177964246a0e1a5d6c5e4255dcc8ec700d (patch)
tree8a9659ffe0635f061f182e94fb3cecc95f46ed37 /test/config
parent103e0ee850404a5c8dc69bbbf79b2508a9c55d7a (diff)
Require authentication for merge calls
Diffstat (limited to 'test/config')
-rw-r--r--test/config/frontend-1.config10
-rw-r--r--test/config/storage-1.config2
2 files changed, 6 insertions, 6 deletions
diff --git a/test/config/frontend-1.config b/test/config/frontend-1.config
index 35631d1..9d7e37c 100644
--- a/test/config/frontend-1.config
+++ b/test/config/frontend-1.config
@@ -34,11 +34,11 @@
{storage_nodes_quorum, 1},
{publickey_path, "publickeys"},
{own_key, {"frontend-1", "privatekeys/frontend-1-private.pem"}},
- {allowed_clients, [{"/ct/frontend/sendentry", noauth},
- {"/ct/frontend/sendlog", noauth},
- {"/ct/frontend/sendsth", noauth},
- {"/ct/frontend/currentposition", noauth},
- {"/ct/frontend/missingentries", noauth},
+ {allowed_clients, [{"/ct/frontend/sendentry", ["merge-1"]},
+ {"/ct/frontend/sendlog", ["merge-1"]},
+ {"/ct/frontend/sendsth", ["merge-1"]},
+ {"/ct/frontend/currentposition", ["merge-1"]},
+ {"/ct/frontend/missingentries", ["merge-1"]},
{"/ct/v1/add-chain", noauth},
{"/ct/v1/add-pre-chain", noauth},
{"/ct/v1/get-sth", noauth},
diff --git a/test/config/storage-1.config b/test/config/storage-1.config
index 8770f88..005a8ad 100644
--- a/test/config/storage-1.config
+++ b/test/config/storage-1.config
@@ -33,7 +33,7 @@
{own_key, {"storage-1", "privatekeys/storage-1-private.pem"}},
{allowed_clients, [{"/ct/storage/sendentry", ["frontend-1"]},
{"/ct/storage/entrycommitted", ["frontend-1"]},
- {"/ct/storage/fetchnewentries", noauth},
+ {"/ct/storage/fetchnewentries", ["merge-1"]},
{"/ct/storage/getentry", noauth}
]}
]}].