summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2010-02-11 18:01:59 +0000
committerStef Walter <stef@memberwebs.com>2010-02-11 18:01:59 +0000
commit66d1e1ddc1d20bed460d27c6a7c6c6dc792a279e (patch)
treebca3efc85dde1f0628c536d5d0a71bf18facd143
parentb7ce1b4fc1253c6f25b160528b639c79a35d4754 (diff)
Fix various config messages to have right config directives.
-rw-r--r--module/mod_auth_singleid.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/mod_auth_singleid.c b/module/mod_auth_singleid.c
index c55a755..e8b7e14 100644
--- a/module/mod_auth_singleid.c
+++ b/module/mod_auth_singleid.c
@@ -382,7 +382,7 @@ set_identifier (cmd_parms* cmd, void* config, const char* val)
{
sid_context_t *ctx = config;
if (!ap_is_url (val))
- return "Not a valid URL in SingleIdentifier";
+ return "Not a valid URL in SingleIDProvider";
ctx->identifier = apr_pstrdup (cmd->pool, val);
return NULL;
}
@@ -394,7 +394,7 @@ set_realm (cmd_parms* cmd, void* config, const char* val)
apr_uri_t uri;
if (apr_uri_parse (cmd->pool, val, &uri) != APR_SUCCESS)
- return "Not a valid URL for SingleRealm";
+ return "Not a valid URL for SingleIDRealm";
if (uri.hostname && strchr (uri.hostname, '.'))
ctx->cookie_domain = uri.hostname;
@@ -428,7 +428,7 @@ set_user_match (cmd_parms *cmd, void *config, const char *val)
/* Try to compile as a regular expression */
ctx->converter = ap_pregcomp (cmd->pool, val, AP_REG_EXTENDED | AP_REG_ICASE | AP_REG_NEWLINE);
if (!ctx->converter)
- return "Invalid regular expression in SingleUserMatch";
+ return "Invalid regular expression in SingleIDUserMatch";
ctx->user_match = REGEX;
return NULL;
@@ -450,7 +450,7 @@ set_cache_size (cmd_parms *cmd, void *config, const char *val)
} else {
size = strtol (val, &end, 10);
if (*end != '\0')
- return "Invalid number specified for SingleCache";
+ return "Invalid number specified for SingleIDCache";
}
if (size == 0)
@@ -473,7 +473,7 @@ set_cookie_name (cmd_parms *cmd, void *config, const char *val)
end = val + strspn (val, VALID_NAME);
if (*val == '\0' || *end != '\0')
- return "Not a valid cookie name in SingleCookieName";
+ return "Not a valid cookie name in SingleIDCookie";
ctx->cookie_name = apr_pstrdup (cmd->pool, val);
return NULL;
@@ -554,7 +554,7 @@ set_logout (cmd_parms *cmd, void *config, const char *val1, const char *val2)
sid_context_t *ctx = config;
if (!val1 || val1[0] != '/')
- return "The logout path must be an absolute path, and start with '/'";
+ return "The SingleIdLogout must be an absolute path, and start with '/'";
ctx->logout_path = apr_pstrdup (cmd->pool, val1);
if (val2)