Lines Matching refs:conf
86 auth_form_config_rec *conf = apr_pcalloc(p, sizeof(*conf));
88 conf->dir = d;
90 conf->authoritative = 1;
93 conf->form_size = HUGE_STRING_LEN;
96 conf->username = "httpd_username";
97 conf->password = "httpd_password";
98 conf->location = "httpd_location";
99 conf->method = "httpd_method";
100 conf->mimetype = "httpd_mimetype";
101 conf->body = "httpd_body";
103 return conf;
148 auth_form_config_rec *conf = (auth_form_config_rec *) config;
177 if (!conf->providers) {
178 conf->providers = newp;
181 authn_provider_list *last = conf->providers;
208 auth_form_config_rec *conf = (auth_form_config_rec *) config;
209 conf->location = location;
210 conf->location_set = 1;
216 auth_form_config_rec *conf = (auth_form_config_rec *) config;
217 conf->username = username;
218 conf->username_set = 1;
224 auth_form_config_rec *conf = (auth_form_config_rec *) config;
225 conf->password = password;
226 conf->password_set = 1;
232 auth_form_config_rec *conf = (auth_form_config_rec *) config;
233 conf->method = method;
234 conf->method_set = 1;
240 auth_form_config_rec *conf = (auth_form_config_rec *) config;
241 conf->mimetype = mimetype;
242 conf->mimetype_set = 1;
248 auth_form_config_rec *conf = (auth_form_config_rec *) config;
249 conf->body = body;
250 conf->body_set = 1;
257 auth_form_config_rec *conf = config;
264 conf->form_size = (apr_size_t)size;
265 conf->form_size_set = 1;
272 auth_form_config_rec *conf = (auth_form_config_rec *) config;
275 conf->loginrequired = ap_expr_parse_cmd(cmd, loginrequired, AP_EXPR_FLAG_STRING_RESULT,
282 conf->loginrequired_set = 1;
289 auth_form_config_rec *conf = (auth_form_config_rec *) config;
292 conf->loginsuccess = ap_expr_parse_cmd(cmd, loginsuccess, AP_EXPR_FLAG_STRING_RESULT,
299 conf->loginsuccess_set = 1;
306 auth_form_config_rec *conf = (auth_form_config_rec *) config;
309 conf->logout = ap_expr_parse_cmd(cmd, logout, AP_EXPR_FLAG_STRING_RESULT,
316 conf->logout_set = 1;
323 auth_form_config_rec *conf = (auth_form_config_rec *) config;
324 conf->site = site;
325 conf->site_set = 1;
331 auth_form_config_rec *conf = (auth_form_config_rec *) config;
332 conf->authoritative = flag;
333 conf->authoritative_set = 1;
339 auth_form_config_rec *conf = (auth_form_config_rec *) config;
340 conf->fakebasicauth = flag;
341 conf->fakebasicauth_set = 1;
347 auth_form_config_rec *conf = (auth_form_config_rec *) config;
348 conf->disable_no_store = flag;
349 conf->disable_no_store_set = 1;
412 auth_form_config_rec *conf = ap_get_module_config(r->per_dir_config,
415 if (conf->location && ap_strchr_c(conf->location, ':')) {
416 apr_table_setn(r->err_headers_out, "Location", conf->location);
603 auth_form_config_rec * conf)
620 res = ap_parse_form_data(r, NULL, &pairs, -1, conf->form_size);
763 auth_form_config_rec *conf = ap_get_module_config(r->per_dir_config,
766 current_provider = conf->providers;
807 if (!conf->providers) {
818 if (!(conf->authoritative) && auth_result != AUTH_DENIED) {
860 static void fake_basic_authentication(request_rec *r, auth_form_config_rec *conf,
863 if (conf->fakebasicauth) {
884 auth_form_config_rec *conf = ap_get_module_config(r->per_dir_config,
935 rv = check_site(r, conf->site, sent_user, sent_hash);
937 fake_basic_authentication(r, conf, sent_user, sent_pw);
946 fake_basic_authentication(r, conf, sent_user, sent_pw);
993 rv = get_form_auth(rr, conf->username, conf->password, conf->location,
994 conf->method, conf->mimetype, conf->body,
996 &sent_mimetype, &sent_body, conf);
1033 fake_basic_authentication(r, conf, sent_user, sent_pw);
1034 set_session_auth(r, sent_user, sent_pw, conf->site);
1039 if (conf->loginsuccess) {
1041 conf->loginsuccess, &err);
1061 if (HTTP_UNAUTHORIZED == rv && conf->loginrequired) {
1063 conf->loginrequired, &err);
1090 if (HTTP_UNAUTHORIZED == rv && !conf->disable_no_store) {
1115 auth_form_config_rec *conf;
1132 conf = ap_get_module_config(r->per_dir_config, &auth_form_module);
1134 rv = get_form_auth(r, conf->username, conf->password, conf->location,
1137 NULL, NULL, NULL, conf);
1141 set_session_auth(r, sent_user, sent_pw, conf->site);
1146 if (conf->loginsuccess) {
1148 conf->loginsuccess, &err);
1164 if (HTTP_UNAUTHORIZED == rv && conf->loginrequired) {
1166 conf->loginrequired, &err);
1195 auth_form_config_rec *conf;
1202 conf = ap_get_module_config(r->per_dir_config, &auth_form_module);
1215 if (conf->logout) {
1217 conf->logout, &err);