summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Change <RequireAll><RequireOne> to <SatisfyAll><SatisfyOne>. The keyword ↵authz-devBradley Nicholes2006-01-101-6/+6
| | | | | | 'Satisfy' seems to fit a little better since the blocks can contain both 'Require' and 'Reject' directives git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@367678 13f79535-47bb-0310-9956-ffa450edef68
* Fix a few minor compiler errors in the merge of mod_authn_alias into ↵Bradley Nicholes2006-01-072-6/+6
| | | | | | mod_authn_core git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@366604 13f79535-47bb-0310-9956-ffa450edef68
* Merge mod_authn_alias into mod_authn_coreBradley Nicholes2006-01-062-6/+167
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@366526 13f79535-47bb-0310-9956-ffa450edef68
* Clean up and remove dead codeBradley Nicholes2005-12-318-1167/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@360213 13f79535-47bb-0310-9956-ffa450edef68
* update the todo listBradley Nicholes2005-12-311-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@360208 13f79535-47bb-0310-9956-ffa450edef68
* Add 'granted' and 'denied' arguments to the authz 'all' provider to try to ↵Bradley Nicholes2005-12-301-3/+9
| | | | | | mimic the previous 'allow from all' and 'deny from all' functionality git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@359936 13f79535-47bb-0310-9956-ffa450edef68
* If there aren't any providers configured, then just decline allowing other ↵Bradley Nicholes2005-12-301-4/+5
| | | | | | hook based authorization modules to have a crack at it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@359935 13f79535-47bb-0310-9956-ffa450edef68
* If there isn't any authentication configured for the location, then do ↵Bradley Nicholes2005-12-301-1/+3
| | | | | | nothing and return OK git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@359930 13f79535-47bb-0310-9956-ffa450edef68
* After further review, it is determined that mod_authz_default needs to ↵Bradley Nicholes2005-12-291-13/+29
| | | | | | remain a authz hook rather than a provider git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@359928 13f79535-47bb-0310-9956-ffa450edef68
* First cut at converting the host based access control directives (allow, ↵Bradley Nicholes2005-12-292-10/+184
| | | | | | deny) into authz providers. Needs testing git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@359885 13f79535-47bb-0310-9956-ffa450edef68
* Implement the 'Reject' directive into authz. The 'Reject' directive acts ↵Bradley Nicholes2005-12-272-0/+13
| | | | | | just like a NOT Require. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@359176 13f79535-47bb-0310-9956-ffa450edef68
* Remove the calls to ap_some_auth_required() from the request handling to ↵Bradley Nicholes2005-12-271-1/+1
| | | | | | allow the authn and authz hooks to be called without restriction git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@359172 13f79535-47bb-0310-9956-ffa450edef68
* debugged the require_one and require_all linked list set up to make sure ↵Bradley Nicholes2005-12-272-195/+284
| | | | | | that the lists are being created to match the logic that is layed out in the configuration file. Also debugged the authz provider handling to make sure that the 'and/or' logic is being followed as the providers are checked and return the authorization result git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@359160 13f79535-47bb-0310-9956-ffa450edef68
* added the directives <RequireAll>, <RequireOne> and <RequireAlias>Bradley Nicholes2005-12-212-63/+331
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@358364 13f79535-47bb-0310-9956-ffa450edef68
* Make the authz provider changes build on NetWareBradley Nicholes2005-12-127-3/+507
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@356323 13f79535-47bb-0310-9956-ffa450edef68
* initial conversion of mod_authz_default to the provider basedBradley Nicholes2005-12-102-55/+13
| | | | | | | authorization git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@355684 13f79535-47bb-0310-9956-ffa450edef68
* Remove the ap_requires API since it no longer fits with the new providerBradley Nicholes2005-12-101-17/+3
| | | | | | | based authorization architecture git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@355681 13f79535-47bb-0310-9956-ffa450edef68
* Remove the AuthzXXXAuthoritative directives from all of the authzBradley Nicholes2005-12-107-66/+7
| | | | | | | | modules. This functionality will be handled by the Satify directive when that gets refactored. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@355670 13f79535-47bb-0310-9956-ffa450edef68
* Initial conversion of mod_authz_dbd to provider based authorizationBradley Nicholes2005-12-091-1/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@355655 13f79535-47bb-0310-9956-ffa450edef68
* Initial conversion of mod_authnz_ldap to provider based authorizationBradley Nicholes2005-12-091-3/+675
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@355629 13f79535-47bb-0310-9956-ffa450edef68
* Replace the wrong get_word function with the right one.Bradley Nicholes2005-12-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@355627 13f79535-47bb-0310-9956-ffa450edef68
* initial conversion of mod_authz_dbm to provider based authorizationBradley Nicholes2005-12-091-2/+149
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@355580 13f79535-47bb-0310-9956-ffa450edef68
* clean up a few loose endsBradley Nicholes2005-12-091-4/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@355577 13f79535-47bb-0310-9956-ffa450edef68
* Initial conversion of mod_authz_groupfile to be provider basedBradley Nicholes2005-12-081-2/+120
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@354998 13f79535-47bb-0310-9956-ffa450edef68
* Finish initial conversion of mod_authz_ownerBradley Nicholes2005-12-082-23/+90
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@354979 13f79535-47bb-0310-9956-ffa450edef68
* start conversion of mod_authz_ownerBradley Nicholes2005-12-071-0/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@354717 13f79535-47bb-0310-9956-ffa450edef68
* Split the authz type from the arguments when theBradley Nicholes2005-12-073-33/+22
| | | | | | | | | | | | 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 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@354716 13f79535-47bb-0310-9956-ffa450edef68
* switch the internal names from authn to authn_core and authz to authz_coreBradley Nicholes2005-12-073-45/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@354699 13f79535-47bb-0310-9956-ffa450edef68
* Add some to-do items to the listBradley Nicholes2005-12-062-0/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@354498 13f79535-47bb-0310-9956-ffa450edef68
* Rename mod_authn -> mod_authn_core & mod_authz -> mod_authz_core perJustin Erenkrantz2005-12-062-0/+0
| | | | | | | | | discussions on list. (This just renames the files - doesn't touch the content.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@354490 13f79535-47bb-0310-9956-ffa450edef68
* Add general authn and authz modules to hold non-authxxx specific directives ↵Bradley Nicholes2005-12-065-279/+432
| | | | | | such as authtype, authname and require. Remove authtype and authname from mod_core. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@354331 13f79535-47bb-0310-9956-ffa450edef68
* Still need AUTHZ_DECLINED for now, The converted mod_authz_user isBradley Nicholes2005-12-051-0/+1
| | | | | | | referencing it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@354141 13f79535-47bb-0310-9956-ffa450edef68
* Take a quick pass through the refactored authz code. No real big changes here.Justin Erenkrantz2005-12-033-77/+57
| | | | | | | | | | | * modules/aaa/mod_authz_host.c: Tweak locations of some comments; reflow long lines; correct and simplify (I think) ap_some_auth_required logic. * modules/aaa/mod_auth.h: Remove AUTHZ_DECLINED for now; reflow long lines; improve comments; remove some no longer useful comments * modules/aaa/mod_authz_user.c: Reflow long lines and remove unneeded variable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@351902 13f79535-47bb-0310-9956-ffa450edef68
* work out a few more bugs and now it works. Still needs some clean up and ↵Bradley Nicholes2005-12-023-17/+25
| | | | | | the rest of the authz modules need to be converted git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@351573 13f79535-47bb-0310-9956-ffa450edef68
* Reimplement ap_some_auth_required as an optional function since the data has ↵Bradley Nicholes2005-12-021-0/+41
| | | | | | moved to mod_authz_host yet it is still needed by the request handler git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@351547 13f79535-47bb-0310-9956-ffa450edef68
* convert mod_authz_user to register its require providersBradley Nicholes2005-12-013-5/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@350149 13f79535-47bb-0310-9956-ffa450edef68
* first cut at moving the require directive out of mod_core and implementing ↵Bradley Nicholes2005-11-302-1/+276
| | | | | | it as a provider vector. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@349875 13f79535-47bb-0310-9956-ffa450edef68
* First stab at a build environment for mod_authn_dbdColm MacCarthaigh2005-11-291-0/+132
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349774 13f79535-47bb-0310-9956-ffa450edef68
* Optional functions are of __cdecl the kind on win32, due to "APU_DECLARE_NONSTDColm MacCarthaigh2005-11-292-13/+13
| | | | | | | | apr_dynamic_fn_register" from apr-util, so we can't use __stdcall. Declare our functions as non-std. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349768 13f79535-47bb-0310-9956-ffa450edef68
* A first stab at a win32 build environment for mod_dbd.Colm MacCarthaigh2005-11-291-0/+132
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349757 13f79535-47bb-0310-9956-ffa450edef68
* Give DBD a set of _DECLARE macros consistent with other modules, so thatColm MacCarthaigh2005-11-292-13/+34
| | | | | | | _EXPORT and _STATIC and be turned on/off more easily. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349752 13f79535-47bb-0310-9956-ffa450edef68
* Fix case where a shared keepalive connection results inJim Jagielski2005-11-291-3/+13
| | | | | | | | | different workers from being accessed. Try to be wise and fast about the tests before we do the expensive string comparison. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349723 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ssl/ssl_scache_dc.c (ssl_scache_dc_retrieve): Fix warningJoe Orton2005-11-281-1/+1
| | | | | | | | | | with OpenSSL 0.9.8a. * support/ab.c (ssl_print_cb, ssl_print_cert_info): Fix warnings with OpenSSL 0.9.8a. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349415 13f79535-47bb-0310-9956-ffa450edef68
* PR#37553Nick Kew2005-11-212-65/+167
| | | | | | | | Redesign of pools handling in mod_dbd Submitted: Chris Darroch, Reviewed: Nick Kew git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@348026 13f79535-47bb-0310-9956-ffa450edef68
* Fix a problem with the HTTPS CGI variable not getting set for secure ↵Bradley Nicholes2005-11-211-2/+2
| | | | | | requests. Needed to readd the port and address on every restart whether or not the listen port is being created or resused. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@348014 13f79535-47bb-0310-9956-ffa450edef68
* Wrap exported functions in AP_DECLARENick Kew2005-11-211-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@348008 13f79535-47bb-0310-9956-ffa450edef68
* * Minor performance tweak by reusing already calculated strlen in get_body.Ruediger Pluem2005-11-191-1/+1
| | | | | | | | Submitted by: Christophe Jaillet <christophe.jaillet wanadoo.fr> Reviewed by: Ruediger Pluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345686 13f79535-47bb-0310-9956-ffa450edef68
* mod_authz_dbd: SQL authz with Login/Session supportNick Kew2005-11-183-0/+340
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345389 13f79535-47bb-0310-9956-ffa450edef68
* Add defaults and comments for better robustness against misuseNick Kew2005-11-162-1/+5
| | | | | | | (based on comments from Chris Darroch). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345128 13f79535-47bb-0310-9956-ffa450edef68
* Remove support for 'On' and 'Off' for AuthBasicProvider and AuthDigestProviderJustin Erenkrantz2005-11-162-30/+4
| | | | | | | | | as it doesn't actually work as advertised. Reviewed by: Joshua Slive (concept) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345054 13f79535-47bb-0310-9956-ffa450edef68