static void register_hooks(apr_pool_t *p) { ap_register_auth_provider(p, AUTHN_PROVIDER_GROUP, "dbm", AUTHN_PROVIDER_VERSION, &authn_dbm_provider, AP_AUTH_INTERNAL_PER_CONF); ap_hook_optional_fn_retrieve(opt_retr, NULL, NULL, APR_HOOK_MIDDLE); }
static void register_hooks(apr_pool_t *p) { #if AP_MODULE_MAGIC_AT_LEAST(20080403,1) ap_hook_check_authn(authenticate_webid_user, NULL, NULL, APR_HOOK_MIDDLE, AP_AUTH_INTERNAL_PER_URI); #else ap_hook_check_user_id(authenticate_webid_user, NULL, NULL, APR_HOOK_MIDDLE); #endif ap_hook_optional_fn_retrieve(import_ssl_func, NULL, NULL, APR_HOOK_MIDDLE); }
static void authn_dbd_hooks(apr_pool_t *p) { static const authn_provider authn_dbd_provider = { &authn_dbd_password, &authn_dbd_realm }; ap_register_auth_provider(p, AUTHN_PROVIDER_GROUP, "dbd", AUTHN_PROVIDER_VERSION, &authn_dbd_provider, AP_AUTH_INTERNAL_PER_CONF); ap_hook_optional_fn_retrieve(opt_retr, NULL, NULL, APR_HOOK_MIDDLE); }
static void register_hooks(apr_pool_t * p) { /* // Modules that have to be loaded before vhx static const char *const aszPre[] = {"mod_userdir.c", "mod_php5.c", NULL}; // Modules that have to be loaded after vhx static const char *const aszSucc[] = {"mod_php.c", NULL}; */ #ifdef HAVE_MPM_ITK_SUPPORT static const char * const aszSuc_itk[]= {"itk.c",NULL }; ap_hook_post_read_request(vhx_itk_post_read, NULL, aszSuc_itk, APR_HOOK_REALLY_FIRST); #endif /* HAVE_MPM_ITK_SUPPORT */ ap_hook_post_config(vhx_init_handler, NULL, NULL, APR_HOOK_MIDDLE); //ap_hook_translate_name(vhx_translate_name, aszPre, aszSucc, APR_HOOK_FIRST); ap_hook_translate_name(vhx_translate_name, NULL, NULL, APR_HOOK_FIRST); ap_hook_optional_fn_retrieve(ImportULDAPOptFn,NULL,NULL,APR_HOOK_MIDDLE); }
static void register_hooks(apr_pool_t *p) { /* pre_connection hook needs to run after mod_ssl connection hook. */ static const char *pre_ssl[] = { "mod_ssl.c", NULL }; ap_hook_child_init(child_init, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_optional_fn_retrieve(optional_fn_retrieve, NULL,NULL,APR_HOOK_MIDDLE); ap_hook_post_config(post_config, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_pre_connection(pre_connection, pre_ssl, NULL, APR_HOOK_MIDDLE); ap_hook_create_request(create_request, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_post_read_request(post_read_request,NULL,NULL, APR_HOOK_LAST); ap_hook_check_authn(check_authn, NULL,NULL, APR_HOOK_FIRST, AP_AUTH_INTERNAL_PER_CONF); ap_hook_access_checker(access_checker, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_check_access(check_access, NULL, NULL, APR_HOOK_MIDDLE, AP_AUTH_INTERNAL_PER_CONF); ap_hook_auth_checker(auth_checker, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_fixups(fixups, NULL, NULL, APR_HOOK_LAST); ap_register_provider(p, AP_SOCACHE_PROVIDER_GROUP, "tls-aaa", AP_SOCACHE_PROVIDER_VERSION, &socache_tls_aaa); };
static void register_hooks(apr_pool_t *p) { ap_hook_check_user_id(authenticate_sslcert_user, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_optional_fn_retrieve(import_ssl_var_lookup, NULL, NULL, APR_HOOK_MIDDLE); }