Apache2
|
Macros | |
#define | AP_AUTH_INTERNAL_PER_URI 0 |
#define | AP_AUTH_INTERNAL_PER_CONF 1 |
#define | AP_AUTH_INTERNAL_MASK 0x000F |
Functions | |
void | ap_clear_auth_internal (void) |
void | ap_setup_auth_internal (apr_pool_t *ptemp) |
apr_status_t | ap_register_auth_provider (apr_pool_t *pool, const char *provider_group, const char *provider_name, const char *provider_version, const void *provider, int type) |
Internal Redirects
#define AP_AUTH_INTERNAL_MASK 0x000F |
mask to extract internal request processing mode
#define AP_AUTH_INTERNAL_PER_CONF 1 |
Run access control hooks only on internal requests with configurations distinct from that of initial request
#define AP_AUTH_INTERNAL_PER_URI 0 |
Run access control hooks on all internal requests with URIs distinct from that of initial request
void ap_clear_auth_internal | ( | void | ) |
Clear flag which determines when access control hooks will be run for internal requests.
apr_status_t ap_register_auth_provider | ( | apr_pool_t * | pool, |
const char * | provider_group, | ||
const char * | provider_name, | ||
const char * | provider_version, | ||
const void * | provider, | ||
int | type | ||
) |
Register an authentication or authorization provider with the global provider pool.
pool | The pool to create any storage from |
provider_group | The group to store the provider in |
provider_name | The name for this provider |
provider_version | The version for this provider |
provider | Opaque structure for this provider |
type | Internal request processing mode, either AP_AUTH_INTERNAL_PER_URI or AP_AUTH_INTERNAL_PER_CONF |
void ap_setup_auth_internal | ( | apr_pool_t * | ptemp | ) |
Determine whether access control hooks will be run for all internal requests with URIs distinct from that of the initial request, or only those for which different configurations apply than those which applied to the initial request. To accommodate legacy external modules which may expect access control hooks to be run for all internal requests with distinct URIs, this is the default behaviour unless all access control hooks and authentication and authorization providers are registered with AP_AUTH_INTERNAL_PER_CONF.
ptemp | Pool used for temporary allocations |