mgmt: NfdManagerBase::makeAuthorization uses CommandAuthenticator
This commit also eliminates Forwarder in Mgmt/TestFaceManager/CreateFace test suite
and uses FaceTable directly.
refs #2063
Change-Id: I596e8c2a12dad64ee75082f384955f30d574f53e
diff --git a/daemon/mgmt/fib-manager.hpp b/daemon/mgmt/fib-manager.hpp
index 9599a01..b5c6984 100644
--- a/daemon/mgmt/fib-manager.hpp
+++ b/daemon/mgmt/fib-manager.hpp
@@ -42,18 +42,10 @@
class FibManager : public NfdManagerBase
{
public:
- /**
- * @brief construct a FibManger
- *
- * @param fib the managed FIB
- * @param faceTable FaceTable for querying available faces
- * @param dispatcher the management dispatcher
- * @param validator the command validator
- */
FibManager(Fib& fib,
const FaceTable& faceTable,
Dispatcher& dispatcher,
- CommandValidator& validator);
+ CommandAuthenticator& authenticator);
private:
void