MCPcopy Create free account
hub / github.com/apache/httpd / register_hooks

Function register_hooks

modules/aaa/mod_authz_core.c:1138–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1136
1137
1138static void register_hooks(apr_pool_t *p)
1139{
1140 APR_REGISTER_OPTIONAL_FN(authz_some_auth_required);
1141
1142 ap_hook_pre_config(authz_core_pre_config, NULL, NULL, APR_HOOK_MIDDLE);
1143 ap_hook_check_config(authz_core_check_config, NULL, NULL, APR_HOOK_MIDDLE);
1144 ap_hook_check_authz(authorize_user, NULL, NULL, APR_HOOK_LAST,
1145 AP_AUTH_INTERNAL_PER_CONF);
1146 ap_hook_check_access_ex(authorize_userless, NULL, NULL, APR_HOOK_LAST,
1147 AP_AUTH_INTERNAL_PER_CONF);
1148
1149 ap_register_auth_provider(p, AUTHZ_PROVIDER_GROUP, "env",
1150 AUTHZ_PROVIDER_VERSION,
1151 &authz_env_provider, AP_AUTH_INTERNAL_PER_CONF);
1152 ap_register_auth_provider(p, AUTHZ_PROVIDER_GROUP, "all",
1153 AUTHZ_PROVIDER_VERSION,
1154 &authz_all_provider, AP_AUTH_INTERNAL_PER_CONF);
1155 ap_register_auth_provider(p, AUTHZ_PROVIDER_GROUP, "method",
1156 AUTHZ_PROVIDER_VERSION,
1157 &authz_method_provider, AP_AUTH_INTERNAL_PER_CONF);
1158 ap_register_auth_provider(p, AUTHZ_PROVIDER_GROUP, "expr",
1159 AUTHZ_PROVIDER_VERSION,
1160 &authz_expr_provider, AP_AUTH_INTERNAL_PER_CONF);
1161}
1162
1163AP_DECLARE_MODULE(authz_core) =
1164{

Callers

nothing calls this directly

Calls 3

ap_hook_check_authzFunction · 0.85
ap_hook_check_access_exFunction · 0.85

Tested by

no test coverage detected