/* Licensed to the Apache Software Foundation (ASF) under one or more *contributorlicenseagreements.SeetheNOTICEfiledistributedwith *thisworkforadditionalinformationregardingcopyrightownership. *TheASFlicensesthisfiletoYouundertheApacheLicense,Version2.0 *(the"License");youmaynotusethisfileexceptincompliancewith *theLicense.YoumayobtainacopyoftheLicenseat * *http://www.apache.org/licenses/LICENSE-2.0 * *Unlessrequiredbyapplicablelaworagreedtoinwriting,software *distributedundertheLicenseisdistributedonan"ASIS"BASIS, *WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied. *SeetheLicenseforthespecificlanguagegoverningpermissionsand *limitationsundertheLicense.
*/
/** all of the requirements must be met */ #ifndef SATISFY_ALL #define SATISFY_ALL 0 #endif /** any of the requirements must be met */ #ifndef SATISFY_ANY #define SATISFY_ANY 1 #endif /** There are no applicable satisfy lines */ #ifndef SATISFY_NOSPEC #define SATISFY_NOSPEC 2 #endif
typedefstruct { /* Given a username and password, expected to return AUTH_GRANTED *ifwecanvalidatethisuser/passwordcombination.
*/
authn_status (*check_password)(request_rec *r, constchar *user, constchar *password);
/* Given a user and realm, expected to return AUTH_USER_FOUND if we *canfindamd5hashof'user:realm:password'
*/
authn_status (*get_realm_hash)(request_rec *r, constchar *user, constchar *realm, char **rethash);
} authn_provider;
/* A linked-list of authn providers. */ typedefstruct authn_provider_list authn_provider_list;
typedefstruct { /* Given a request_rec, expected to return AUTHZ_GRANTED *ifwecanauthorizeuseraccess. *@paramrtherequestrecord *@paramrequire_linetheargumenttotheauthzprovider *@paramparsed_require_linethevaluesetbyparse_require_line(),ifany
*/
authz_status (*check_authorization)(request_rec *r, constchar *require_line, constvoid *parsed_require_line);
/** Check the syntax of a require line and optionally cache the parsed *line.ThisfunctionmaybeNULL. *@paramcmdtheconfigdirective *@paramrequire_linetheargumenttotheauthzprovider *@paramparsed_require_lineplacetostoreparsedrequire_lineforusebyprovider *@returnErrormessageorNULLonsuccess
*/ constchar *(*parse_require_line)(cmd_parms *cmd, constchar *require_line, constvoid **parsed_require_line);
} authz_provider;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.