Lines Matching refs:user
35 #define AUTHN_CACHE_STORE(r,user,realm,data) \
37 authn_cache_store((r), "file", (user), (realm), (data))
51 OR_AUTHCFG, "text file containing user IDs and passwords"),
57 static authn_status check_password(request_rec *r, const char *user,
92 if (!strcmp(user, w)) {
102 AUTHN_CACHE_STORE(r, user, NULL, file_password);
104 status = ap_password_validate(r, user, password, file_password);
112 static authn_status get_realm_hash(request_rec *r, const char *user,
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);