Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
Junxiao Shi | a907980 | 2017-08-26 14:12:30 +0000 | [diff] [blame] | 2 | /* |
Davide Pesavento | 78ddcab | 2019-02-28 22:00:03 -0500 | [diff] [blame^] | 3 | * Copyright (c) 2014-2019, Regents of the University of California, |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 4 | * Arizona Board of Regents, |
| 5 | * Colorado State University, |
| 6 | * University Pierre & Marie Curie, Sorbonne University, |
| 7 | * Washington University in St. Louis, |
| 8 | * Beijing Institute of Technology, |
| 9 | * The University of Memphis. |
| 10 | * |
| 11 | * This file is part of NFD (Named Data Networking Forwarding Daemon). |
| 12 | * See AUTHORS.md for complete list of NFD authors and contributors. |
| 13 | * |
| 14 | * NFD is free software: you can redistribute it and/or modify it under the terms |
| 15 | * of the GNU General Public License as published by the Free Software Foundation, |
| 16 | * either version 3 of the License, or (at your option) any later version. |
| 17 | * |
| 18 | * NFD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
| 19 | * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 20 | * PURPOSE. See the GNU General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU General Public License along with |
| 23 | * NFD, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>. |
| 24 | */ |
| 25 | |
| 26 | #include "mgmt/command-authenticator.hpp" |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 27 | |
Davide Pesavento | 78ddcab | 2019-02-28 22:00:03 -0500 | [diff] [blame^] | 28 | #include "manager-common-fixture.hpp" |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 29 | |
Junxiao Shi | a907980 | 2017-08-26 14:12:30 +0000 | [diff] [blame] | 30 | #include <boost/filesystem.hpp> |
| 31 | |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 32 | namespace nfd { |
| 33 | namespace tests { |
| 34 | |
Junxiao Shi | 8a1f170 | 2017-07-03 00:05:08 +0000 | [diff] [blame] | 35 | class CommandAuthenticatorFixture : public CommandInterestSignerFixture |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 36 | { |
| 37 | protected: |
| 38 | CommandAuthenticatorFixture() |
| 39 | : authenticator(CommandAuthenticator::create()) |
| 40 | { |
| 41 | } |
| 42 | |
| 43 | void |
| 44 | makeModules(std::initializer_list<std::string> modules) |
| 45 | { |
| 46 | for (const std::string& module : modules) { |
| 47 | authorizations.emplace(module, authenticator->makeAuthorization(module, "verb")); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | void |
| 52 | loadConfig(const std::string& config) |
| 53 | { |
Davide Pesavento | d96744d | 2018-02-03 19:16:07 -0500 | [diff] [blame] | 54 | auto configPath = boost::filesystem::current_path() / "command-authenticator-test.conf"; |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 55 | ConfigFile cf; |
| 56 | authenticator->setConfigFile(cf); |
| 57 | cf.parse(config, false, configPath.c_str()); |
| 58 | } |
| 59 | |
| 60 | bool |
| 61 | authorize(const std::string& module, const Name& identity, |
Davide Pesavento | 87fc0f8 | 2018-04-11 23:43:51 -0400 | [diff] [blame] | 62 | const std::function<void(Interest&)>& modifyInterest = nullptr) |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 63 | { |
Junxiao Shi | 8a1f170 | 2017-07-03 00:05:08 +0000 | [diff] [blame] | 64 | Interest interest = this->makeControlCommandRequest(Name("/prefix/" + module + "/verb"), |
Davide Pesavento | d96744d | 2018-02-03 19:16:07 -0500 | [diff] [blame] | 65 | ControlParameters(), identity); |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 66 | if (modifyInterest != nullptr) { |
Junxiao Shi | 8a1f170 | 2017-07-03 00:05:08 +0000 | [diff] [blame] | 67 | modifyInterest(interest); |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 68 | } |
| 69 | |
| 70 | ndn::mgmt::Authorization authorization = authorizations.at(module); |
| 71 | |
| 72 | bool isAccepted = false; |
| 73 | bool isRejected = false; |
Junxiao Shi | 8a1f170 | 2017-07-03 00:05:08 +0000 | [diff] [blame] | 74 | authorization(Name("/prefix"), interest, nullptr, |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 75 | [this, &isAccepted, &isRejected] (const std::string& requester) { |
| 76 | BOOST_REQUIRE_MESSAGE(!isAccepted && !isRejected, |
| 77 | "authorization function should invoke only one continuation"); |
| 78 | isAccepted = true; |
| 79 | lastRequester = requester; |
| 80 | }, |
| 81 | [this, &isAccepted, &isRejected] (ndn::mgmt::RejectReply act) { |
| 82 | BOOST_REQUIRE_MESSAGE(!isAccepted && !isRejected, |
| 83 | "authorization function should invoke only one continuation"); |
| 84 | isRejected = true; |
| 85 | lastRejectReply = act; |
| 86 | }); |
| 87 | |
Davide Pesavento | d96744d | 2018-02-03 19:16:07 -0500 | [diff] [blame] | 88 | this->advanceClocks(1_ms, 10); |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 89 | BOOST_REQUIRE_MESSAGE(isAccepted || isRejected, |
| 90 | "authorization function should invoke one continuation"); |
| 91 | return isAccepted; |
| 92 | } |
| 93 | |
| 94 | protected: |
| 95 | shared_ptr<CommandAuthenticator> authenticator; |
| 96 | std::unordered_map<std::string, ndn::mgmt::Authorization> authorizations; |
| 97 | std::string lastRequester; |
| 98 | ndn::mgmt::RejectReply lastRejectReply; |
| 99 | }; |
| 100 | |
| 101 | BOOST_AUTO_TEST_SUITE(Mgmt) |
| 102 | BOOST_FIXTURE_TEST_SUITE(TestCommandAuthenticator, CommandAuthenticatorFixture) |
| 103 | |
| 104 | BOOST_AUTO_TEST_CASE(Certs) |
| 105 | { |
| 106 | Name id0("/localhost/CommandAuthenticator/0"); |
| 107 | Name id1("/localhost/CommandAuthenticator/1"); |
| 108 | Name id2("/localhost/CommandAuthenticator/2"); |
| 109 | BOOST_REQUIRE(addIdentity(id0)); |
| 110 | BOOST_REQUIRE(saveIdentityCertificate(id1, "1.ndncert", true)); |
| 111 | BOOST_REQUIRE(saveIdentityCertificate(id2, "2.ndncert", true)); |
| 112 | |
| 113 | makeModules({"module0", "module1", "module2", "module3", "module4", "module5", "module6", "module7"}); |
| 114 | const std::string& config = R"CONFIG( |
| 115 | authorizations |
| 116 | { |
| 117 | authorize |
| 118 | { |
| 119 | certfile any |
| 120 | privileges |
| 121 | { |
| 122 | module1 |
| 123 | module3 |
| 124 | module5 |
| 125 | module7 |
| 126 | } |
| 127 | } |
| 128 | authorize |
| 129 | { |
| 130 | certfile "1.ndncert" |
| 131 | privileges |
| 132 | { |
| 133 | module2 |
| 134 | module3 |
| 135 | module6 |
| 136 | module7 |
| 137 | } |
| 138 | } |
| 139 | authorize |
| 140 | { |
| 141 | certfile "2.ndncert" |
| 142 | privileges |
| 143 | { |
| 144 | module4 |
| 145 | module5 |
| 146 | module6 |
| 147 | module7 |
| 148 | } |
| 149 | } |
| 150 | } |
| 151 | )CONFIG"; |
| 152 | loadConfig(config); |
| 153 | |
| 154 | // module0: none |
| 155 | BOOST_CHECK_EQUAL(authorize("module0", id0), false); |
| 156 | BOOST_CHECK_EQUAL(authorize("module0", id1), false); |
| 157 | BOOST_CHECK_EQUAL(authorize("module0", id2), false); |
| 158 | |
| 159 | // module1: any |
| 160 | BOOST_CHECK_EQUAL(authorize("module1", id0), true); |
| 161 | BOOST_CHECK_EQUAL(authorize("module1", id1), true); |
| 162 | BOOST_CHECK_EQUAL(authorize("module1", id2), true); |
| 163 | |
| 164 | // module2: id1 |
| 165 | BOOST_CHECK_EQUAL(authorize("module2", id0), false); |
| 166 | BOOST_CHECK_EQUAL(authorize("module2", id1), true); |
| 167 | BOOST_CHECK_EQUAL(authorize("module2", id2), false); |
| 168 | |
| 169 | // module3: any,id1 |
| 170 | BOOST_CHECK_EQUAL(authorize("module3", id0), true); |
| 171 | BOOST_CHECK_EQUAL(authorize("module3", id1), true); |
| 172 | BOOST_CHECK_EQUAL(authorize("module3", id2), true); |
| 173 | |
| 174 | // module4: id2 |
| 175 | BOOST_CHECK_EQUAL(authorize("module4", id0), false); |
| 176 | BOOST_CHECK_EQUAL(authorize("module4", id1), false); |
| 177 | BOOST_CHECK_EQUAL(authorize("module4", id2), true); |
| 178 | |
| 179 | // module5: any,id2 |
| 180 | BOOST_CHECK_EQUAL(authorize("module5", id0), true); |
| 181 | BOOST_CHECK_EQUAL(authorize("module5", id1), true); |
| 182 | BOOST_CHECK_EQUAL(authorize("module5", id2), true); |
| 183 | |
| 184 | // module6: id1,id2 |
| 185 | BOOST_CHECK_EQUAL(authorize("module6", id0), false); |
| 186 | BOOST_CHECK_EQUAL(authorize("module6", id1), true); |
| 187 | BOOST_CHECK_EQUAL(authorize("module6", id2), true); |
| 188 | |
| 189 | // module7: any,id1,id2 |
| 190 | BOOST_CHECK_EQUAL(authorize("module7", id0), true); |
| 191 | BOOST_CHECK_EQUAL(authorize("module7", id1), true); |
| 192 | BOOST_CHECK_EQUAL(authorize("module7", id2), true); |
| 193 | } |
| 194 | |
| 195 | BOOST_AUTO_TEST_CASE(Requester) |
| 196 | { |
| 197 | Name id0("/localhost/CommandAuthenticator/0"); |
| 198 | Name id1("/localhost/CommandAuthenticator/1"); |
| 199 | BOOST_REQUIRE(addIdentity(id0)); |
| 200 | BOOST_REQUIRE(saveIdentityCertificate(id1, "1.ndncert", true)); |
| 201 | |
| 202 | makeModules({"module0", "module1"}); |
| 203 | const std::string& config = R"CONFIG( |
| 204 | authorizations |
| 205 | { |
| 206 | authorize |
| 207 | { |
| 208 | certfile any |
| 209 | privileges |
| 210 | { |
| 211 | module0 |
| 212 | } |
| 213 | } |
| 214 | authorize |
| 215 | { |
| 216 | certfile "1.ndncert" |
| 217 | privileges |
| 218 | { |
| 219 | module1 |
| 220 | } |
| 221 | } |
| 222 | } |
| 223 | )CONFIG"; |
| 224 | loadConfig(config); |
| 225 | |
| 226 | // module0: any |
| 227 | BOOST_CHECK_EQUAL(authorize("module0", id0), true); |
| 228 | BOOST_CHECK_EQUAL(lastRequester, "*"); |
| 229 | BOOST_CHECK_EQUAL(authorize("module0", id1), true); |
| 230 | BOOST_CHECK_EQUAL(lastRequester, "*"); |
| 231 | |
| 232 | // module1: id1 |
| 233 | BOOST_CHECK_EQUAL(authorize("module1", id0), false); |
| 234 | BOOST_CHECK_EQUAL(authorize("module1", id1), true); |
| 235 | BOOST_CHECK(id1.isPrefixOf(lastRequester)); |
| 236 | } |
| 237 | |
| 238 | class IdentityAuthorizedFixture : public CommandAuthenticatorFixture |
| 239 | { |
| 240 | protected: |
| 241 | IdentityAuthorizedFixture() |
| 242 | : id1("/localhost/CommandAuthenticator/1") |
| 243 | { |
| 244 | BOOST_REQUIRE(saveIdentityCertificate(id1, "1.ndncert", true)); |
| 245 | |
| 246 | makeModules({"module1"}); |
| 247 | const std::string& config = R"CONFIG( |
| 248 | authorizations |
| 249 | { |
| 250 | authorize |
| 251 | { |
| 252 | certfile "1.ndncert" |
| 253 | privileges |
| 254 | { |
| 255 | module1 |
| 256 | } |
| 257 | } |
| 258 | } |
| 259 | )CONFIG"; |
| 260 | loadConfig(config); |
| 261 | } |
| 262 | |
| 263 | bool |
Davide Pesavento | 87fc0f8 | 2018-04-11 23:43:51 -0400 | [diff] [blame] | 264 | authorize1(const std::function<void(Interest&)>& modifyInterest) |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 265 | { |
| 266 | return authorize("module1", id1, modifyInterest); |
| 267 | } |
| 268 | |
| 269 | protected: |
| 270 | Name id1; |
| 271 | }; |
| 272 | |
| 273 | BOOST_FIXTURE_TEST_SUITE(Rejects, IdentityAuthorizedFixture) |
| 274 | |
| 275 | BOOST_AUTO_TEST_CASE(BadKeyLocator_NameTooShort) |
| 276 | { |
| 277 | BOOST_CHECK_EQUAL(authorize1( |
| 278 | [] (Interest& interest) { |
| 279 | interest.setName("/prefix"); |
| 280 | } |
| 281 | ), false); |
| 282 | BOOST_CHECK(lastRejectReply == ndn::mgmt::RejectReply::SILENT); |
| 283 | } |
| 284 | |
| 285 | BOOST_AUTO_TEST_CASE(BadKeyLocator_BadSigInfo) |
| 286 | { |
| 287 | BOOST_CHECK_EQUAL(authorize1( |
| 288 | [] (Interest& interest) { |
| 289 | setNameComponent(interest, ndn::signed_interest::POS_SIG_INFO, "not-SignatureInfo"); |
| 290 | } |
| 291 | ), false); |
| 292 | BOOST_CHECK(lastRejectReply == ndn::mgmt::RejectReply::SILENT); |
| 293 | } |
| 294 | |
| 295 | BOOST_AUTO_TEST_CASE(BadKeyLocator_MissingKeyLocator) |
| 296 | { |
| 297 | BOOST_CHECK_EQUAL(authorize1( |
| 298 | [] (Interest& interest) { |
Junxiao Shi | a907980 | 2017-08-26 14:12:30 +0000 | [diff] [blame] | 299 | ndn::SignatureInfo sigInfo(tlv::SignatureSha256WithRsa); |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 300 | setNameComponent(interest, ndn::signed_interest::POS_SIG_INFO, |
| 301 | sigInfo.wireEncode().begin(), sigInfo.wireEncode().end()); |
| 302 | } |
| 303 | ), false); |
| 304 | BOOST_CHECK(lastRejectReply == ndn::mgmt::RejectReply::SILENT); |
| 305 | } |
| 306 | |
| 307 | BOOST_AUTO_TEST_CASE(BadKeyLocator_BadKeyLocatorType) |
| 308 | { |
| 309 | BOOST_CHECK_EQUAL(authorize1( |
| 310 | [] (Interest& interest) { |
| 311 | ndn::KeyLocator kl; |
| 312 | kl.setKeyDigest(ndn::encoding::makeBinaryBlock(tlv::KeyDigest, "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD", 8)); |
Junxiao Shi | a907980 | 2017-08-26 14:12:30 +0000 | [diff] [blame] | 313 | ndn::SignatureInfo sigInfo(tlv::SignatureSha256WithRsa); |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 314 | sigInfo.setKeyLocator(kl); |
| 315 | setNameComponent(interest, ndn::signed_interest::POS_SIG_INFO, |
| 316 | sigInfo.wireEncode().begin(), sigInfo.wireEncode().end()); |
| 317 | } |
| 318 | ), false); |
| 319 | BOOST_CHECK(lastRejectReply == ndn::mgmt::RejectReply::SILENT); |
| 320 | } |
| 321 | |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 322 | BOOST_AUTO_TEST_CASE(NotAuthorized) |
| 323 | { |
| 324 | Name id0("/localhost/CommandAuthenticator/0"); |
| 325 | BOOST_REQUIRE(addIdentity(id0)); |
| 326 | |
| 327 | BOOST_CHECK_EQUAL(authorize("module1", id0), false); |
| 328 | BOOST_CHECK(lastRejectReply == ndn::mgmt::RejectReply::STATUS403); |
| 329 | } |
| 330 | |
| 331 | BOOST_AUTO_TEST_CASE(BadSig) |
| 332 | { |
| 333 | BOOST_CHECK_EQUAL(authorize1( |
| 334 | [] (Interest& interest) { |
Alexander Afanasyev | 635bf20 | 2017-03-09 21:57:34 +0000 | [diff] [blame] | 335 | setNameComponent(interest, ndn::command_interest::POS_SIG_VALUE, "bad-signature-bits"); |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 336 | } |
| 337 | ), false); |
| 338 | BOOST_CHECK(lastRejectReply == ndn::mgmt::RejectReply::STATUS403); |
| 339 | } |
| 340 | |
| 341 | BOOST_AUTO_TEST_CASE(InvalidTimestamp) |
| 342 | { |
| 343 | name::Component timestampComp; |
| 344 | BOOST_CHECK_EQUAL(authorize1( |
| 345 | [×tampComp] (const Interest& interest) { |
Alexander Afanasyev | 635bf20 | 2017-03-09 21:57:34 +0000 | [diff] [blame] | 346 | timestampComp = interest.getName().at(ndn::command_interest::POS_TIMESTAMP); |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 347 | } |
| 348 | ), true); // accept first command |
| 349 | BOOST_CHECK_EQUAL(authorize1( |
| 350 | [×tampComp] (Interest& interest) { |
Alexander Afanasyev | 635bf20 | 2017-03-09 21:57:34 +0000 | [diff] [blame] | 351 | setNameComponent(interest, ndn::command_interest::POS_TIMESTAMP, timestampComp); |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 352 | } |
| 353 | ), false); // reject second command because timestamp equals first command |
| 354 | BOOST_CHECK(lastRejectReply == ndn::mgmt::RejectReply::STATUS403); |
| 355 | } |
| 356 | |
Davide Pesavento | d96744d | 2018-02-03 19:16:07 -0500 | [diff] [blame] | 357 | BOOST_FIXTURE_TEST_CASE(MissingAuthorizationsSection, CommandAuthenticatorFixture) |
| 358 | { |
| 359 | Name id0("/localhost/CommandAuthenticator/0"); |
| 360 | BOOST_REQUIRE(addIdentity(id0)); |
| 361 | |
| 362 | makeModules({"module42"}); |
| 363 | loadConfig(""); |
| 364 | |
| 365 | BOOST_CHECK_EQUAL(authorize("module42", id0), false); |
| 366 | BOOST_CHECK(lastRejectReply == ndn::mgmt::RejectReply::STATUS403); |
| 367 | } |
| 368 | |
Junxiao Shi | d763127 | 2016-08-17 04:16:31 +0000 | [diff] [blame] | 369 | BOOST_AUTO_TEST_SUITE_END() // Rejects |
| 370 | |
| 371 | BOOST_AUTO_TEST_SUITE(BadConfig) |
| 372 | |
| 373 | BOOST_AUTO_TEST_CASE(EmptyAuthorizationsSection) |
| 374 | { |
| 375 | const std::string& config = R"CONFIG( |
| 376 | authorizations |
| 377 | { |
| 378 | } |
| 379 | )CONFIG"; |
| 380 | |
| 381 | BOOST_CHECK_THROW(loadConfig(config), ConfigFile::Error); |
| 382 | } |
| 383 | |
| 384 | BOOST_AUTO_TEST_CASE(UnrecognizedKey) |
| 385 | { |
| 386 | const std::string& config = R"CONFIG( |
| 387 | authorizations |
| 388 | { |
| 389 | unrecognized_key |
| 390 | { |
| 391 | } |
| 392 | } |
| 393 | )CONFIG"; |
| 394 | |
| 395 | BOOST_CHECK_THROW(loadConfig(config), ConfigFile::Error); |
| 396 | } |
| 397 | |
| 398 | BOOST_AUTO_TEST_CASE(CertfileMissing) |
| 399 | { |
| 400 | const std::string& config = R"CONFIG( |
| 401 | authorizations |
| 402 | { |
| 403 | authorize |
| 404 | { |
| 405 | privileges |
| 406 | { |
| 407 | } |
| 408 | } |
| 409 | } |
| 410 | )CONFIG"; |
| 411 | |
| 412 | BOOST_CHECK_THROW(loadConfig(config), ConfigFile::Error); |
| 413 | } |
| 414 | |
| 415 | BOOST_AUTO_TEST_CASE(CertUnreadable) |
| 416 | { |
| 417 | const std::string& config = R"CONFIG( |
| 418 | authorizations |
| 419 | { |
| 420 | authorize |
| 421 | { |
| 422 | certfile "1.ndncert" |
| 423 | privileges |
| 424 | { |
| 425 | } |
| 426 | } |
| 427 | } |
| 428 | )CONFIG"; |
| 429 | |
| 430 | BOOST_CHECK_THROW(loadConfig(config), ConfigFile::Error); |
| 431 | } |
| 432 | |
| 433 | BOOST_AUTO_TEST_CASE(PrivilegesMissing) |
| 434 | { |
| 435 | const std::string& config = R"CONFIG( |
| 436 | authorizations |
| 437 | { |
| 438 | authorize |
| 439 | { |
| 440 | certfile any |
| 441 | } |
| 442 | } |
| 443 | )CONFIG"; |
| 444 | |
| 445 | BOOST_CHECK_THROW(loadConfig(config), ConfigFile::Error); |
| 446 | } |
| 447 | |
| 448 | BOOST_AUTO_TEST_CASE(UnregisteredModule) |
| 449 | { |
| 450 | const std::string& config = R"CONFIG( |
| 451 | authorizations |
| 452 | { |
| 453 | authorize |
| 454 | { |
| 455 | certfile any |
| 456 | privileges |
| 457 | { |
| 458 | nosuchmodule |
| 459 | } |
| 460 | } |
| 461 | } |
| 462 | )CONFIG"; |
| 463 | |
| 464 | BOOST_CHECK_THROW(loadConfig(config), ConfigFile::Error); |
| 465 | } |
| 466 | |
| 467 | BOOST_AUTO_TEST_SUITE_END() // BadConfig |
| 468 | |
| 469 | BOOST_AUTO_TEST_SUITE_END() // TestCommandAuthenticator |
| 470 | BOOST_AUTO_TEST_SUITE_END() // Mgmt |
| 471 | |
| 472 | } // namespace tests |
| 473 | } // namespace nfd |