You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2005/12/06 19:58:25 UTC

svn commit: r354498 - in /httpd/httpd/branches/authz-dev/modules/aaa: mod_authn_core.c mod_authz_core.c

Author: bnicholes
Date: Tue Dec  6 10:58:23 2005
New Revision: 354498

URL: http://svn.apache.org/viewcvs?rev=354498&view=rev
Log:
Add some to-do items to the list

Modified:
    httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_core.c
    httpd/httpd/branches/authz-dev/modules/aaa/mod_authz_core.c

Modified: httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_core.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_core.c?rev=354498&r1=354497&r2=354498&view=diff
==============================================================================
--- httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_core.c (original)
+++ httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_core.c Tue Dec  6 10:58:23 2005
@@ -41,6 +41,15 @@
 #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;

Modified: httpd/httpd/branches/authz-dev/modules/aaa/mod_authz_core.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/authz-dev/modules/aaa/mod_authz_core.c?rev=354498&r1=354497&r2=354498&view=diff
==============================================================================
--- httpd/httpd/branches/authz-dev/modules/aaa/mod_authz_core.c (original)
+++ httpd/httpd/branches/authz-dev/modules/aaa/mod_authz_core.c Tue Dec  6 10:58:23 2005
@@ -44,6 +44,40 @@
 #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;