Lines Matching +refs:val +refs:context
39 const char *context;
201 ret->context = directory;
210 /* preserve context and timeout if not defaults */
211 if (add->context == directory) {
212 ret->context = base->context;
257 (void*)APR_OFFSETOF(authn_cache_dircfg, context),
262 static const char *construct_key(request_rec *r, const char *context,
265 /* handle "special" context values */
266 if (!strcmp(context, "directory")) {
274 context = new_context;
276 else if (!strcmp(context, "server")) {
277 context = r->server->server_hostname;
279 /* any other context value is literal */
282 return apr_pstrcat(r->pool, context, ":", user, NULL);
285 return apr_pstrcat(r->pool, context, ":", user, ":", realm, NULL);
325 module, dcfg->context);
331 key = construct_key(r, dcfg->context, user, realm);
341 user, dcfg->context);
346 module, dcfg->context);
375 unsigned char val[MAX_VAL_LEN];
381 key = construct_key(r, dcfg->context, user, NULL);
384 val, &vallen, r->pool);
396 val[vallen] = 0;
406 rv = ap_password_validate(r, user, password, (char*) val);
420 unsigned char val[MAX_VAL_LEN];
426 key = construct_key(r, dcfg->context, user, realm);
429 val, &vallen, r->pool);
449 *rethash = apr_pstrmemdup(r->pool, (char *)val, vallen);