]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add some to-do items to the list
authorBradley Nicholes <bnicholes@apache.org>
Tue, 6 Dec 2005 18:58:23 +0000 (18:58 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Tue, 6 Dec 2005 18:58:23 +0000 (18:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@354498 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authn_core.c
modules/aaa/mod_authz_core.c

index c6ec1b2493d21622727ac45a0f986d140500ddfa..70e12e43398a4fee011ab3b8a70624cae85ab0c0 100644 (file)
 #include <netinet/in.h>
 #endif
 
+/* TODO List
+
+- Track down all of the references to r->ap_auth_type
+   and change them to ap_auth_type()
+- Remove ap_auth_type and ap_auth_name from the 
+   request_rec   
+
+*/
+
 typedef struct {
     char *ap_auth_type;
     char *ap_auth_name;
index d7881f5af5b60f85b82c5a56ef055b1e42316676..7f446dc7d021b317088b276c38943767e42d978e 100644 (file)
 #include <netinet/in.h>
 #endif
 
+/* TODO List
+
+- Convert all of the authz modules to providers
+- Remove the ap_requires field from the request_rec
+- Remove the ap_requires field from authz_dir_conf   
+- Remove the function ap_requires() and authz_ap_requires()
+   since their functionality is no longer supported 
+   or necessary in the refactoring
+- Remove the calls to ap_some_auth_required() in the
+   core request handling to allow the hooks to be called
+   in all cases.  Is this function even necessary
+   anymore?
+- Determine of merge_authz_dir_config is even 
+   necessary and remove if not
+- Split the authz type from the arguments when the
+   authz provider is registered and store the type
+   in ->provider_name and the arguments in ->requirement
+- Move the check for METHOD_MASK out of the authz 
+   providers and into the provider vector
+- Change the status code to AUTHZ_DENIED, AUTHZ_GRANTED
+   and AUTHZ_GENERAL_ERROR   
+- Determine if setting the AUTHZ_PROVIDER_NAME_NOTE note
+   is even necessary.  This was used in authn to support
+   authn_alias.  Is there a need for an authz_alias?
+- Move the Satisfy directive out of mod_core and into
+   mod_authz_core.
+- Expand the Satisfy directive to handle 'and' and 'or'
+   logic for determining which authorization must succeed
+   vs. may succeed
+- Remove the AuthzXXXAuthoritative directives from all of
+   the authz providers
+      
+*/
+
 typedef struct {
     apr_array_header_t *ap_requires;
     authz_provider_list *providers;