#include "apr_strings.h"#include "apr_want.h"#include "httpd.h"#include "http_config.h"#include "http_core.h"#include "http_log.h"#include "http_request.h"#include "http_protocol.h"Include dependency graph for mod_auth_anon.c:

Go to the source code of this file.
Defines | |
| #define | APR_WANT_STRFUNC |
Typedefs | |
| typedef anon_auth | anon_auth |
Functions | |
| static void * | create_anon_auth_dir_config (apr_pool_t *p, char *d) |
| static const char * | anon_set_string_slots (cmd_parms *cmd, void *my_config, const char *arg) |
| static int | anon_authenticate_basic_user (request_rec *r) |
| static int | check_anon_access (request_rec *r) |
| static void | register_hooks (apr_pool_t *p) |
Variables | |
| static const command_rec | anon_auth_cmds [] |
| module AP_MODULE_DECLARE_DATA | auth_anon_module |
|
|
Definition at line 57 of file mod_auth_anon.c. |
|
|
|
|
|
Definition at line 142 of file mod_auth_anon.c. References anon_auth_config_rec::anon_auth_authoritative, anon_auth_config_rec::anon_auth_logemail, anon_auth_config_rec::anon_auth_mustemail, anon_auth_config_rec::anon_auth_nouserid, anon_auth_config_rec::anon_auth_passwords, anon_auth_config_rec::anon_auth_verifyemail, ap_get_module_config, APLOG_ERR, APLOG_INFO, APLOG_MARK, APR_SUCCESS, auth_anon_module, conf, DECLINED, HTTP_UNAUTHORIZED, anon_auth::next, NULL, OK, p, anon_auth::password, request_rec::per_dir_config, strcasecmp(), and request_rec::user. Referenced by register_hooks(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 96 of file mod_auth_anon.c. References anon_auth_config_rec::anon_auth_passwords, conf, first, anon_auth::next, NULL, anon_auth::password, and cmd_parms_struct::pool. |
|
|
Definition at line 203 of file mod_auth_anon.c. References ap_get_module_config, auth_anon_module, c, conf, request_rec::connection, DECLINED, OK, request_rec::per_dir_config, and strcasecmp(). Referenced by register_hooks(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 81 of file mod_auth_anon.c. |
|
|
Definition at line 223 of file mod_auth_anon.c. References anon_authenticate_basic_user(), APR_HOOK_MIDDLE, check_anon_access(), and NULL. Here is the call graph for this function: ![]() |
|
|
Initial value:
{
AP_INIT_ITERATE("Anonymous", anon_set_string_slots, NULL, OR_AUTHCFG,
"a space-separated list of user IDs"),
AP_INIT_FLAG("Anonymous_MustGiveEmail", ap_set_flag_slot,
(void *)APR_OFFSETOF(anon_auth_config_rec, anon_auth_mustemail),
OR_AUTHCFG, "Limited to 'on' or 'off'"),
AP_INIT_FLAG("Anonymous_NoUserId", ap_set_flag_slot,
(void *)APR_OFFSETOF(anon_auth_config_rec, anon_auth_nouserid),
OR_AUTHCFG, "Limited to 'on' or 'off'"),
AP_INIT_FLAG("Anonymous_VerifyEmail", ap_set_flag_slot,
(void *)APR_OFFSETOF(anon_auth_config_rec, anon_auth_verifyemail),
OR_AUTHCFG, "Limited to 'on' or 'off'"),
AP_INIT_FLAG("Anonymous_LogEmail", ap_set_flag_slot,
(void *)APR_OFFSETOF(anon_auth_config_rec, anon_auth_logemail),
OR_AUTHCFG, "Limited to 'on' or 'off'"),
AP_INIT_FLAG("Anonymous_Authoritative", ap_set_flag_slot,
(void *)APR_OFFSETOF(anon_auth_config_rec, anon_auth_authoritative),
OR_AUTHCFG, "Limited to 'on' or 'off'"),
{NULL}
}
Definition at line 118 of file mod_auth_anon.c. |
|
|
Initial value:
{
STANDARD20_MODULE_STUFF,
create_anon_auth_dir_config,
NULL,
NULL,
NULL,
anon_auth_cmds,
register_hooks
}
Definition at line 229 of file mod_auth_anon.c. Referenced by anon_authenticate_basic_user(), and check_anon_access(). |