| 10168 | |
| 10169 | |
| 10170 | ClntAuthBlock::ClntAuthBlock(const PathName* fileName, ClumpletReader* dpb, |
| 10171 | const ParametersSet* tags) |
| 10172 | : pluginList(getPool()), serverPluginList(getPool()), |
| 10173 | cliUserName(getPool()), cliPassword(getPool()), cliOrigUserName(getPool()), |
| 10174 | dataForPlugin(getPool()), dataFromPlugin(getPool()), |
| 10175 | cryptKeys(getPool()), dpbConfig(getPool()), dpbPlugins(getPool()), |
| 10176 | createdInterface(nullptr), |
| 10177 | plugins(IPluginManager::TYPE_AUTH_CLIENT), authComplete(false), firstTime(true) |
| 10178 | { |
| 10179 | if (dpb && tags) |
| 10180 | { |
| 10181 | if (dpb->find(tags->config_text)) |
| 10182 | dpb->getString(dpbConfig); |
| 10183 | |
| 10184 | if (dpb->find(tags->plugin_list)) |
| 10185 | dpb->getPath(dpbPlugins); |
| 10186 | |
| 10187 | if (dpb->find(tags->auth_block)) |
| 10188 | { |
| 10189 | AuthReader::AuthBlock plain; |
| 10190 | plain.add(dpb->getBytes(), dpb->getClumpLength()); |
| 10191 | remAuthBlock.reset(FB_NEW RmtAuthBlock(plain)); |
| 10192 | } |
| 10193 | } |
| 10194 | clntConfig = REMOTE_get_config(fileName, &dpbConfig); |
| 10195 | resetClnt(); |
| 10196 | } |
| 10197 | |
| 10198 | void ClntAuthBlock::resetDataFromPlugin() |
| 10199 | { |
nothing calls this directly
no test coverage detected