switch to ndn-cxx KeyChain v2
ValidatorConfig is temporarily disabled. All commands are
authorized without validation.
refs #4091
Change-Id: I4eea8cd954761424d2d084bda4e8510320b5fb46
diff --git a/src/handles/write-handle.hpp b/src/handles/write-handle.hpp
index a02f675..1347470 100644
--- a/src/handles/write-handle.hpp
+++ b/src/handles/write-handle.hpp
@@ -22,8 +22,6 @@
#include "base-handle.hpp"
-#include <ndn-cxx/security/validator-config.hpp>
-
#include <queue>
namespace repo {
@@ -70,7 +68,7 @@
public:
WriteHandle(Face& face, RepoStorage& storageHandle, KeyChain& keyChain,
- Scheduler& scheduler, ValidatorConfig& validator);
+ Scheduler& scheduler, Validator& validator);
virtual void
listen(const Name& prefix);
@@ -228,8 +226,7 @@
negativeReply(const Interest& interest, int statusCode);
private:
-
- ValidatorConfig& m_validator;
+ Validator& m_validator;
map<ProcessId, ProcessInfo> m_processes;