| 1303 | } |
| 1304 | |
| 1305 | static void register_hooks(apr_pool_t * p) |
| 1306 | { |
| 1307 | ap_hook_post_config(authenticate_form_post_config,NULL,NULL,APR_HOOK_MIDDLE); |
| 1308 | |
| 1309 | #if AP_MODULE_MAGIC_AT_LEAST(20080403,1) |
| 1310 | ap_hook_check_authn(authenticate_form_authn, NULL, NULL, APR_HOOK_MIDDLE, |
| 1311 | AP_AUTH_INTERNAL_PER_CONF); |
| 1312 | #else |
| 1313 | ap_hook_check_user_id(authenticate_form_authn, NULL, NULL, APR_HOOK_MIDDLE); |
| 1314 | #endif |
| 1315 | ap_hook_handler(authenticate_form_login_handler, NULL, NULL, APR_HOOK_MIDDLE); |
| 1316 | ap_hook_handler(authenticate_form_logout_handler, NULL, NULL, APR_HOOK_MIDDLE); |
| 1317 | ap_hook_handler(authenticate_form_redirect_handler, NULL, NULL, APR_HOOK_MIDDLE); |
| 1318 | |
| 1319 | ap_hook_note_auth_failure(hook_note_cookie_auth_failure, NULL, NULL, |
| 1320 | APR_HOOK_MIDDLE); |
| 1321 | } |
| 1322 | |
| 1323 | AP_DECLARE_MODULE(auth_form) = |
| 1324 | { |
nothing calls this directly
no test coverage detected