Lines Matching refs:realm
148 …_password(server *srv, mod_auth_plugin_data *p, buffer *username, buffer *realm, buffer *password)… in http_auth_get_password() argument
151 if (!username->used|| !realm->used) return -1; in http_auth_get_password()
212 (realm->used - 1 == r_len) && in http_auth_get_password()
214 (0 == strncmp(realm->ptr, f_realm, r_len))) { in http_auth_get_password()
610 …rver *srv, mod_auth_plugin_data *p, array *req, buffer *username, buffer *realm, buffer *password,… in http_auth_basic_password_compare() argument
628 li_MD5_Update(&Md5Ctx, (unsigned char *)realm->ptr, realm->used - 1); in http_auth_basic_password_compare()
843 data_string *realm; in http_auth_basic_check() local
845 realm = (data_string *)array_get_element(req, "realm"); in http_auth_basic_check()
870 if (http_auth_get_password(srv, p, username, realm->value, password)) { in http_auth_basic_check()
884 if (http_auth_basic_password_compare(srv, p, req, username, realm->value, password, pw)) { in http_auth_basic_check()
923 char *realm = NULL; in http_auth_digest_check() local
963 dkv[1].ptr = &realm; in http_auth_digest_check()
1016 log_error_write(srv, __FILE__, __LINE__, "ss", "realm", realm); in http_auth_digest_check()
1028 !realm || in http_auth_digest_check()
1060 realm_buf = buffer_init_string(realm); in http_auth_digest_check()
1077 li_MD5_Update(&Md5Ctx, (unsigned char *)realm, strlen(realm)); in http_auth_digest_check()