Searched defs:realm (Results 1 - 9 of 9) sorted by relevance

/httpd/modules/aaa/
H A Dmod_authn_file.c35 #define AUTHN_CACHE_STORE(r,user,realm,data) \
37 authn_cache_store((r), "file", (user), (realm), (data))
113 const char *realm, char **rethash)
148 if (x && w && !strcmp(user, w) && !strcmp(realm, x)) {
149 /* Remember that this is a md5 hash of user:realm:password. */
161 AUTHN_CACHE_STORE(r, user, realm, file_hash);
112 get_realm_hash(request_rec *r, const char *user, const char *realm, char **rethash) argument
H A Dmod_authn_dbm.c42 #define AUTHN_CACHE_STORE(r,user,realm,data) \
44 authn_cache_store((r), "dbm", (user), (realm), (data))
156 const char *realm, char **rethash)
165 apr_pstrcat(r->pool, user, ":", realm, NULL),
185 AUTHN_CACHE_STORE(r, user, realm, dbm_hash);
155 get_dbm_realm_hash(request_rec *r, const char *user, const char *realm, char **rethash) argument
H A Dmod_auth_basic.c214 "check for digest auth, using a hash of 'user:realm:pass'"),
235 apr_pstrcat(r->pool, "Basic realm=\"", ap_auth_name(r),
300 const char *realm = NULL; local
312 /* We need an authentication realm. */
328 realm = ap_auth_name(r);
331 realm, ":",
370 /* We expect the password to be hash of user:realm:password */
371 auth_result = provider->get_realm_hash(r, sent_user, realm,
H A Dmod_authn_core.c141 const char *realm, char **rethash)
164 ret = prvdraliasrec->provider->get_realm_hash(r,user,realm,rethash);
295 * Load an authorisation realm into our location configuration, applying the
383 "the authentication realm (e.g. \"Members Only\")"),
140 authn_alias_get_realm_hash(request_rec *r, const char *user, const char *realm, char **rethash) argument
H A Dmod_authn_dbd.c34 const char *realm; member in struct:__anon57
46 #define AUTHN_CACHE_STORE(r,user,realm,data) \
48 authn_cache_store((r), "dbd", (user), (realm), (data))
62 ret->realm = (add->realm == NULL) ? base->realm : add->realm;
95 (void *)APR_OFFSETOF(authn_dbd_conf, realm), ACCESS_CONF,
96 "Query used to fetch password for user+realm"),
198 const char *realm, cha
197 authn_dbd_realm(request_rec *r, const char *user, const char *realm, char **rethash) argument
[all...]
H A Dmod_authz_dbm.c147 const char *realm = ap_auth_name(r); local
165 status = get_dbm_grp(r, apr_pstrcat(r->pool, user, ":", realm, NULL),
223 const char *realm = ap_auth_name(r); local
240 status = get_dbm_grp(r, apr_pstrcat(r->pool, user, ":", realm, NULL),
H A Dmod_authn_socache.c263 const char *user, const char *realm)
281 if (realm == NULL) { /* basic auth */
285 return apr_pstrcat(r->pool, context, ":", user, ":", realm, NULL);
289 const char *user, const char *realm,
331 key = construct_key(r, dcfg->context, user, realm);
415 const char *realm, char **rethash)
426 key = construct_key(r, dcfg->context, user, realm);
262 construct_key(request_rec *r, const char *context, const char *user, const char *realm) argument
288 ap_authn_cache_store(request_rec *r, const char *module, const char *user, const char *realm, const char* data) argument
414 get_realm_hash(request_rec *r, const char *user, const char *realm, char **rethash) argument
H A Dmod_auth_digest.c38 * - Sharing a realm among multiple servers has following problems:
88 const char *realm; member in struct:digest_config_struct
138 const char *realm; member in struct:digest_header_struct
445 static const char *set_realm(cmd_parms *cmd, void *config, const char *realm) argument
459 /* The core already handles the realm, but it's just too convenient to
464 conf->realm = realm;
472 apr_sha1_update_binary(&conf->nonce_ctx, (const unsigned char *) realm,
473 strlen(realm));
653 "The authentication realm (
[all...]
/httpd/support/
H A Dhtdigest.c125 static void add_password(const char *user, const char *realm, apr_file_t *f) argument
147 apr_file_printf(f, "%s:%s:", user, realm);
150 apr_snprintf(string, sizeof(string), "%s:%s:%s", user, realm, pw);
167 apr_file_printf(errfile, "Usage: htdigest [-c] passwordfile realm username\n");
193 char realm[MAX_STRING_LEN]; local
226 apr_cpystrn(realm, argv[3], sizeof(realm));
227 apr_file_printf(errfile, "Adding password for %s in realm %s.\n",
228 user, realm);
229 add_password(user, realm,
[all...]

Completed in 22 milliseconds