void
Auth::Digest::Config::parse(Auth::SchemeConfig * scheme, int n_configured, char *param_str)
{
- if (strcmp(param_str, "program") == 0) {
- if (authenticateProgram)
- wordlistDestroy(&authenticateProgram);
-
- parse_wordlist(&authenticateProgram);
-
- requirePathnameExists("auth_param digest program", authenticateProgram->key);
- } else if (strcmp(param_str, "nonce_garbage_interval") == 0) {
+ if (strcmp(param_str, "nonce_garbage_interval") == 0) {
parse_time_t(&nonceGCInterval);
} else if (strcmp(param_str, "nonce_max_duration") == 0) {
parse_time_t(&noncemaxduration);
void
Auth::Negotiate::Config::parse(Auth::SchemeConfig * scheme, int n_configured, char *param_str)
{
- if (strcmp(param_str, "program") == 0) {
- if (authenticateProgram)
- wordlistDestroy(&authenticateProgram);
-
- parse_wordlist(&authenticateProgram);
-
- requirePathnameExists("auth_param negotiate program", authenticateProgram->key);
- } else if (strcmp(param_str, "keep_alive") == 0) {
+ if (strcmp(param_str, "keep_alive") == 0) {
parse_onoff(&keep_alive);
} else
Auth::SchemeConfig::parse(scheme, n_configured, param_str);
void
Auth::Ntlm::Config::parse(Auth::SchemeConfig * scheme, int n_configured, char *param_str)
{
- if (strcmp(param_str, "program") == 0) {
- if (authenticateProgram)
- wordlistDestroy(&authenticateProgram);
-
- parse_wordlist(&authenticateProgram);
-
- requirePathnameExists("auth_param ntlm program", authenticateProgram->key);
- } else if (strcmp(param_str, "keep_alive") == 0) {
+ if (strcmp(param_str, "keep_alive") == 0) {
parse_onoff(&keep_alive);
} else
Auth::SchemeConfig::parse(scheme, n_configured, param_str);