summaryrefslogtreecommitdiff
path: root/include/mod_auth.h
Commit message (Collapse)AuthorAgeFilesLines
* core: Add the token_checker hook, that allows authentication to takeGraham Leggett2023-04-251-0/+37
| | | | | | | | place using mechanisms other than username/password, such as bearer tokens. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909409 13f79535-47bb-0310-9956-ffa450edef68
* Fix spelling errors found by codespell. [skip ci]Mike Rumph2020-02-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1873985 13f79535-47bb-0310-9956-ffa450edef68
* Restore support for the AUTH_HANDLED return code in AUTHN providers,Eric Covener2013-07-031-1/+2
| | | | | | | | | like in 2.2, which allows authn provider to return their own status in r->status (custom error code, or return a redirect) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1499351 13f79535-47bb-0310-9956-ffa450edef68
* Remove trailing comma on last enum member for authz_statusPaul Querna2011-09-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1177497 13f79535-47bb-0310-9956-ffa450edef68
* Allow authz providers to check args while reading the config and allowStefan Fritsch2010-09-191-1/+15
| | | | | | | | | them to cache parsed args. Use this to check that argument to 'all' provider is 'granted' or 'denied'. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@998706 13f79535-47bb-0310-9956-ffa450edef68
* The approach for allowing authorization by user or IP introduced in r956387,Stefan Fritsch2010-07-141-1/+2
| | | | | | | | | | | | | | | | | | | | | etc. causes problems because the authentication module calls note_*_auth_failure if authentication fails. This is inappropriate if access is later allowed because of the IP. So, instead of calling the auth_checker hook even if authentication failed, we introduce a new access_checker_ex hook that runs between the access_checker and the check_user_id hooks. If an access_checker_ex functions returns OK, the request will be allowed without authentication. To make use of this, change mod_authz_core to walk the require blocks in the access_checker_ex phase and deny/allow the request if the authz result does not depend on an authenticated user. To distinguish a real AUTHZ_DENIED from an authz provider from an authz provider needing an authenticated user, the latter must return the new AUTHZ_DENIED_NO_USER code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964156 13f79535-47bb-0310-9956-ffa450edef68
* New module: mod_authn_cacheNick Kew2010-06-221-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956966 13f79535-47bb-0310-9956-ffa450edef68
* add a standard AUTHZ_PREFIX for, no MMN bump since it's just baked in if you Eric Covener2010-05-291-0/+1
| | | | | | | build against it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@949335 13f79535-47bb-0310-9956-ffa450edef68
* Fix handling of authz configurations, make default authz logic replicateChris Darroch2008-11-021-25/+2
| | | | | | | | | 2.2.x authz logic and support existing configurations (including .htaccess files), and replace <Satisfy*>, Reject, and AuthzMergeRules directives with Match, <Match*>, and AuthzMerge directives. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709838 13f79535-47bb-0310-9956-ffa450edef68
* remove unused AUTHZ_GROUP_NOTE defineChris Darroch2008-11-011-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709708 13f79535-47bb-0310-9956-ffa450edef68
* fix typoChris Darroch2008-11-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709706 13f79535-47bb-0310-9956-ffa450edef68
* * include/mod_auth.hPaul Querna2008-10-291-1/+1
| | | | | | | (authz_status): Remove trailing comma on enum. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@708822 13f79535-47bb-0310-9956-ffa450edef68
* convert tabs to spacesChris Darroch2008-10-171-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@705462 13f79535-47bb-0310-9956-ffa450edef68
* revert r672639 which lacked a necessary major bump, add a major MMN bumpEric Covener2008-07-221-4/+0
| | | | | | | to account for the short-lived API addition/removal. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@678947 13f79535-47bb-0310-9956-ffa450edef68
* * Include http_config.h to ensure that cmd_parms is defined, otherwiseRuediger Pluem2008-07-041-0/+1
| | | | | | | e.g. the perl test framework breaks. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@673999 13f79535-47bb-0310-9956-ffa450edef68
* mod_auth_digest: Detect during startup when AuthDigestProviderEric Covener2008-06-291-0/+4
| | | | | | | | | is configured to use an incompatible provider via AuthnProviderAlias. PR 45196 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@672639 13f79535-47bb-0310-9956-ffa450edef68
* As this is consumed by the core, mod_auth must reside inWilliam A. Rowe Jr2008-06-061-0/+136
the serverwide include/'s. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664169 13f79535-47bb-0310-9956-ffa450edef68