Add available Authentication modules.
| 68 | |
| 69 | // Add available Authentication modules. |
| 70 | static void addAuthenticationModules(Modules* modules) |
| 71 | { |
| 72 | CHECK_NOTNULL(modules); |
| 73 | |
| 74 | // Now add our test authentication modules. |
| 75 | Modules::Library* library = modules->add_libraries(); |
| 76 | library->set_file(getModulePath("testauthentication")); |
| 77 | |
| 78 | // To add a new module from this library, create a new ModuleID enum |
| 79 | // and tie it with a module name. |
| 80 | addModule(library, |
| 81 | TestCRAMMD5Authenticatee, |
| 82 | "org_apache_mesos_TestCRAMMD5Authenticatee"); |
| 83 | addModule(library, |
| 84 | TestCRAMMD5Authenticator, |
| 85 | "org_apache_mesos_TestCRAMMD5Authenticator"); |
| 86 | } |
| 87 | |
| 88 | |
| 89 | // Add available ContainerLogger modules. |
no test coverage detected