| 8745 | } |
| 8746 | |
| 8747 | static bool useLegacyAuth(const char* nm, int protocol, ClumpletWriter& dpb) |
| 8748 | { |
| 8749 | LegacyPlugin legacyAuth = REMOTE_legacy_auth(nm, protocol); |
| 8750 | if (!legacyAuth) |
| 8751 | return false; |
| 8752 | |
| 8753 | int requestedAuth = dpb.find(isc_dpb_user_name) ? PLUGIN_LEGACY : PLUGIN_TRUSTED; |
| 8754 | return legacyAuth == requestedAuth; |
| 8755 | } |
| 8756 | |
| 8757 | // Let plugins try to add data to DPB in order to avoid extra network roundtrip |
| 8758 | static void authFillParametersBlock(ClntAuthBlock& cBlock, ClumpletWriter& dpb, |
no test coverage detected