| 7465 | } |
| 7466 | |
| 7467 | void SrvAuthBlock::load(ClumpletReader& id) |
| 7468 | { |
| 7469 | if (id.find(CNCT_login)) |
| 7470 | { |
| 7471 | id.getString(userName); |
| 7472 | fb_utils::dpbItemUpper(userName); |
| 7473 | HANDSHAKE_DEBUG(fprintf(stderr, "Srv: AuthBlock: login %s\n", userName.c_str())); |
| 7474 | } |
| 7475 | |
| 7476 | if (id.find(CNCT_plugin_name)) |
| 7477 | { |
| 7478 | id.getPath(pluginName); |
| 7479 | firstTime = false; |
| 7480 | HANDSHAKE_DEBUG(fprintf(stderr, "Srv: AuthBlock: plugin %s\n", pluginName.c_str())); |
| 7481 | } |
| 7482 | |
| 7483 | if (id.find(CNCT_plugin_list)) |
| 7484 | { |
| 7485 | id.getPath(pluginList); |
| 7486 | HANDSHAKE_DEBUG(fprintf(stderr, "Srv: AuthBlock: plugin list %s\n", pluginList.c_str())); |
| 7487 | } |
| 7488 | |
| 7489 | dataForPlugin.clear(); |
| 7490 | getMultiPartConnectParameter(dataForPlugin, id, CNCT_specific_data); |
| 7491 | if (dataForPlugin.hasData()) |
| 7492 | { |
| 7493 | HANDSHAKE_DEBUG(fprintf(stderr, "Srv: AuthBlock: data %u\n", static_cast<unsigned>(dataForPlugin.getCount()))); |
| 7494 | } |
| 7495 | } |
| 7496 | |
| 7497 | const char* SrvAuthBlock::getPluginName() |
| 7498 | { |
no test coverage detected