/[Apache-SVN]/httpd/httpd/trunk/include/mod_auth.h
ViewVC logotype

Log of /httpd/httpd/trunk/include/mod_auth.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 709838 - (view) (annotate) - [select for diffs]
Modified Sun Nov 2 04:01:32 2008 UTC (12 months, 3 weeks ago) by chrisd
File length: 3133 byte(s)
Diff to previous 709708 (colored)
Fix handling of authz configurations, make default authz logic replicate
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.

Revision 709708 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 15:01:35 2008 UTC (12 months, 3 weeks ago) by chrisd
File length: 3804 byte(s)
Diff to previous 709706 (colored)
remove unused AUTHZ_GROUP_NOTE define

Revision 709706 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 14:53:09 2008 UTC (12 months, 3 weeks ago) by chrisd
File length: 3848 byte(s)
Diff to previous 708822 (colored)
fix typo

Revision 708822 - (view) (annotate) - [select for diffs]
Modified Wed Oct 29 08:25:58 2008 UTC (12 months, 3 weeks ago) by pquerna
File length: 3847 byte(s)
Diff to previous 705462 (colored)
* include/mod_auth.h
  (authz_status): Remove trailing comma on enum.

Revision 705462 - (view) (annotate) - [select for diffs]
Modified Fri Oct 17 04:17:12 2008 UTC (13 months, 1 week ago) by chrisd
File length: 3848 byte(s)
Diff to previous 678947 (colored)
convert tabs to spaces

Revision 678947 - (view) (annotate) - [select for diffs]
Modified Tue Jul 22 23:49:51 2008 UTC (16 months ago) by covener
File length: 3833 byte(s)
Diff to previous 673999 (colored)
revert r672639 which lacked a necessary major bump, add a major MMN bump
to account for the short-lived API addition/removal.

Revision 673999 - (view) (annotate) - [select for diffs]
Modified Fri Jul 4 10:54:09 2008 UTC (16 months, 3 weeks ago) by rpluem
File length: 3993 byte(s)
Diff to previous 672639 (colored)
* Include http_config.h to ensure that cmd_parms is defined, otherwise
  e.g. the perl test framework breaks.

Revision 672639 - (view) (annotate) - [select for diffs]
Modified Sun Jun 29 16:42:43 2008 UTC (16 months, 3 weeks ago) by covener
File length: 3968 byte(s)
Diff to previous 664169 (colored)
mod_auth_digest: Detect during startup when AuthDigestProvider
is configured to use an incompatible provider via AuthnProviderAlias.
PR 45196 


Revision 664169 - (view) (annotate) - [select for diffs]
Modified Fri Jun 6 22:34:44 2008 UTC (17 months, 2 weeks ago) by wrowe
File length: 3808 byte(s)
Copied from: httpd/httpd/trunk/modules/aaa/mod_auth.h revision 664156
Diff to previous 658046 (colored)
As this is consumed by the core, mod_auth must reside in
the serverwide include/'s.

Revision 658046 - (view) (annotate) - [select for diffs]
Modified Mon May 19 23:53:05 2008 UTC (18 months ago) by chrisd
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3808 byte(s)
Diff to previous 534533 (colored)
Convert common provider version strings ("0") to
AUTHN/Z_PROVIDER_VERSION macros defined in mod_auth.h.

Revision 534533 - (view) (annotate) - [select for diffs]
Modified Wed May 2 16:31:39 2007 UTC (2 years, 6 months ago) by bnicholes
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3738 byte(s)
Diff to previous 490054 (colored)
re-introduce ap_satisfies API back into core and modify how the access_checker, check_user_id and auth_checker hooks are called so that they respect the precedence that is set through the satisfy ALL/ANY directive. This also restores the directives order, allow, deny, satisfyas supported directives rather than being deprecated.  These directives still remain in mod_access_compat however.

Revision 490054 - (view) (annotate) - [select for diffs]
Modified Sun Dec 24 17:52:15 2006 UTC (2 years, 11 months ago) by jerenkrantz
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 4001 byte(s)
Diff to previous 466865 (colored)
Fix comment to allow modules using the new authz scheme to work on Win32.

* mod_auth.h: Fix up blurb on how to retrieve ap_satisfies to match what
  mod_authz_core and friends use which does work on Windows.

Revision 466865 - (view) (annotate) - [select for diffs]
Modified Sun Oct 22 19:11:51 2006 UTC (3 years, 1 month ago) by minfrin
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3892 byte(s)
Diff to previous 428798 (colored)
mod_authn_dbd: Export any additional columns queried in the SQL select
into the environment with the name AUTHENTICATE_<COLUMN>. This brings
mod_authn_dbd behaviour in line with mod_authnz_ldap.

Revision 428798 - (view) (annotate) - [select for diffs]
Modified Fri Aug 4 17:53:27 2006 UTC (3 years, 3 months ago) by bnicholes
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3854 byte(s)
Diff to previous 427780 (colored)
revert the reject directive is definitive patch and normalize the logic lists.

Revision 427780 - (view) (annotate) - [select for diffs]
Modified Tue Aug 1 22:54:38 2006 UTC (3 years, 3 months ago) by bnicholes
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3873 byte(s)
Diff to previous 420983 (colored)
Converted the reject directive to be definitive and enabled directory_merge to merge all of the authorization rules and logic.

Revision 420983 - (view) (annotate) - [select for diffs]
Modified Tue Jul 11 20:33:53 2006 UTC (3 years, 4 months ago) by fielding
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3834 byte(s)
Diff to previous 395228 (colored)
update license header text

Revision 395228 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 12:11:27 2006 UTC (3 years, 7 months ago) by colm
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3687 byte(s)
Diff to previous 390506 (colored)
Update the copyright year in all .c, .h and .xml files

Revision 390506 - (view) (annotate) - [select for diffs]
Modified Fri Mar 31 21:35:44 2006 UTC (3 years, 7 months ago) by rooneg
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3687 byte(s)
Diff to previous 378792 (colored)
Clean up some stuff found by Coverity.

* modules/aaa/mod_authz_core.c
  (check_provider_list): Remove redundant code.
* modules/aaa/mod_auth.h
  (AUTHZ_DEFAULT_PROVIDER): Remove redundant definition.

Submitted by: Max Bowsher <maxb apache.org>
Reviewed by: bnicholes, rooneg

Revision 378792 - (view) (annotate) - [select for diffs]
Modified Sat Feb 18 22:50:51 2006 UTC (3 years, 9 months ago) by dreid
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3728 byte(s)
Diff to previous 378394 (colored)
Add a note about the ap_satisfies mess we currently have.

Revision 378394 - (view) (annotate) - [select for diffs]
Modified Thu Feb 16 23:28:44 2006 UTC (3 years, 9 months ago) by dreid
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3611 byte(s)
Diff to previous 375596 (colored)
- add a define for ap_satisfies which is now an optional fn. Without
  this httpd crashes with a SIGBUS when calling ap_satisfies.

This gets mod_authz_svn working again with trunk.

Revision 375596 - (view) (annotate) - [select for diffs]
Modified Tue Feb 7 13:21:45 2006 UTC (3 years, 9 months ago) by jorton
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3553 byte(s)
Diff to previous 368929 (colored)
* modules/aaa/mod_auth.h: Include apr_optional.h for
APR_DECLARE_OPTIONAL_FN definition.

Revision 368929 - (view) (annotate) - [select for diffs]
Modified Sat Jan 14 00:13:22 2006 UTC (3 years, 10 months ago) by bnicholes
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3527 byte(s)
Diff to previous 368027 (colored)
Restore Order, Deny, Allow, Satisfy for backwards compatibility with authz

Revision 368027 - (view) (annotate) - [select for diffs]
Modified Wed Jan 11 14:30:28 2006 UTC (3 years, 10 months ago) by bnicholes
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 3207 byte(s)
Diff to previous 263931 (colored)
Authz refactoring
Merge from branches/authz-dev

Basically here is a list of what has been done:
- Convert all of the authz modules from hook based to provider based
- Remove the ap_requires field from the core_dir_config structure
- Remove the function ap_requires() since its 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.
- Add the new module mod_authz_core which will act as the authorization
provider vector and contain common authz directives such as 'Require',
'Reject' and  '<RequireAlias>'
- Add the new module mod_authn_core which will contain common
authentication directives such as 'AuthType', 'AuthName' and
'<AuthnProviderAlias>'
- Move the check for METHOD_MASK out of the authz providers and into
the authz_core provider vector
- Define the status codes that can be returned by the authz providers
as AUTHZ_DENIED,  AUTHZ_GRANTED and AUTHZ_GENERAL_ERROR   
- Remove the 'Satisfy' directive 
- Implement the '<RequireAll>', '<RequireOne>' block directives  to
handle the 'and' and 'or' logic for authorization.
- Remove the 'AuthzXXXAuthoritative' directives from all of the authz
providers
- Implement the 'Reject' directive that will deny authorization if the
argument is true
- Fold the 'Reject' directive into the '<RequireAll>', '<RequireOne>'
logic
- Reimplement the host based authorization functionality provided by 
'allow', 'deny' and 'order' as authz providers   
- Remove the 'allow', 'deny' and 'order' directives      
- Merge mod_authn_alias into mod_authn_core
- Add '<RequireAlias>' functionality which is similar to
'<AuthnProviderAlias>' but specific to authorization aliasing
- Remove all of the references to the 'authzxxxAuthoritative'
directives from the documentation
- Remove the 'Satisfy' directive from the documentation
- Remove 'Allow', 'Deny', 'Order' directives from the documentation
- Document '<RequireAll>', '<RequireOne>', 'Reject' directives
- Reimplement the APIs ap_auth_type(), ap_auth_name() as optional
functions and move the  actual implementation into mod_authn_core
- Reimplement the API ap_some_auth_required() as an optional function
and move the  actual implementation into mod_authz_core

Major Changes:
- Added the directives <RequireAll>, <RequireOne>, <RequireAlias>,
Reject
- Expanded the functionality of the directive 'Require' to handle all
authorization and access control
- Added the new authz providers 'env', 'ip', 'host', 'all' to handle
host-based access control
- Removed the directives 'Allow', 'Deny', 'Order', 'Satisfy',
'AuthzXXXAuthoritative'
- Removed the ap_require() API
- Moved the directives 'AuthType', 'AuthName' out of mod_core and into
mod_authn_core
- Moved the directive 'Require' out of mod_core and into
mod_authz_core
- Merged mod_authn_alias into mod_authn_core
- Renamed mod_authz_dbm authz providers from 'group' and 'file-group'
to 'dbm-group' and 'dbm-file-group'

Benefits:
- All authorization and access control is now handle through two
directives, 'Require' and 'Reject'
- Authorization has been expanded to allow for complex 'AND/OR' control
logic through the directives '<RequireAll>' and '<RequireOne>'
- Configuration is now much simpler and consistent across the board
- Other modules like mod_ssl and mod_proxy should be able to plug into
and take advantage of  the same provider based authorization mechanism
by implementing their own providers

Issues:
- Backwards compatibility between 2.2 and 2.3 configurations will be
broken in the area  of authorization and access control due to the fact
that the directives 'allow', 'deny',  'order' and 'satisfy' have been
removed.  When moving from 2.2 to 2.3 these directives  will have to be
changed to 'Require all granted', 'Require all denied' or some variation
 of the authz host-based providers.
- Existing third party authorization modules will have to adapt to the
new structure.

Revision 263931 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 23:03:59 2005 UTC (4 years, 2 months ago) by ianh
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 2289 byte(s)
Diff to previous 178052 (colored)
Doxygen fixup / cleanup

submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman


Revision 178052 - (view) (annotate) - [select for diffs]
Modified Mon May 23 23:07:49 2005 UTC (4 years, 6 months ago) by bnicholes
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 2148 byte(s)
Diff to previous 151408 (colored)
Add the auth provider name as a note in the request so that authn_provider_alias is able to look up the original provider along with the per_dir configuration.

Revision 151408 - (view) (annotate) - [select for diffs]
Modified Fri Feb 4 20:28:49 2005 UTC (4 years, 9 months ago) by jerenkrantz
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 2093 byte(s)
Diff to previous 106103 (colored)
Update copyright year to 2005 and standardize on current copyright owner line.

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 2057 byte(s)
Diff to previous 102618 (colored)
general property cleanup

Revision 102618 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 20:31:03 2004 UTC (5 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 2057 byte(s)
Diff to previous 102550 (colored)
fix name of The Apache Software Foundation

Revision 102550 - (view) (annotate) - [select for diffs]
Modified Sat Feb 7 19:38:27 2004 UTC (5 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 2053 byte(s)
Diff to previous 102525 (colored)
fix copyright dates according to the first check in

Revision 102525 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 22:58:42 2004 UTC (5 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 2053 byte(s)
Diff to previous 102135 (colored)
apply Apache License, Version 2.0

Revision 102135 - (view) (annotate) - [select for diffs]
Modified Thu Jan 1 13:26:26 2004 UTC (5 years, 10 months ago) by nd
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 4082 byte(s)
Diff to previous 98573 (colored)
update license to 2004.

Revision 98573 - (view) (annotate) - [select for diffs]
Modified Mon Feb 3 17:53:28 2003 UTC (6 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 4082 byte(s)
Diff to previous 98281 (colored)
finished that boring job:
update license to 2003.

Happy New Year! ;-))

Revision 98281 - (view) (annotate) - [select for diffs]
Modified Wed Jan 15 22:08:54 2003 UTC (6 years, 10 months ago) by nd
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 4082 byte(s)
Diff to previous 96919 (colored)
as announced and with no objections:
mod_authz_owner: forward port of require file-owner/file-group functionality

The goal of the module is to do all the neccessary file system work to
figure out username and groupname. "Require file-owner" is completely
resolved within the module. "file-group" is only determined there and the
groupname will be extracted from the stat call and stored within the
r->notes. Done that, the module will decline, so that the group database
modules (mod_authz_groupfile, mod_authz_dbm) can verify the groupname with
their lists.
Thus every group module that supports the file-group requirement must be
hooked after mod_authz_owner. They have to recognize "file-group" and read
the groupname from r->notes. (If there's no name stored, the modules should
ignore the file-group requirement). The backstopper module will do its work
in worst case.

not solved yet:
- the module doesn't work as one could expect if the file doesn't exist in
  the first request round (consider MultiViews) (the 1.3 version has the
  same problem). I played around with some subrequest techniques, but got
  no helpful result. Is there any magic to recognize the actual resulting
  filename (if there is)?

Revision 96919 - (view) (annotate) - [select for diffs]
Modified Fri Sep 20 00:57:50 2002 UTC (7 years, 2 months ago) by jerenkrantz
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 4033 byte(s)
Diff to previous 96869 (colored)
Add ap_register_provider and ap_lookup_provider functions which resolve
the DSO link problems for DAV and the new aaa modules by moving the
provider code into the core of the server and generalizing them to be
used by any code.

Remove the auth{nz}_*_provider functions as they are no longer needed.

Change the dav_*_provider functions to wrap the ap_*_provider functions
as they have a bit more of a historical precedent that we should keep
around.

Reviewed by:	John K. Sterling <john@sterls.com> (in concept)

Revision 96869 - (view) (annotate) - [select for diffs]
Modified Wed Sep 18 01:05:25 2002 UTC (7 years, 2 months ago) by jerenkrantz
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 5084 byte(s)
Diff to previous 96794 (colored)
Add ability to use multiple providers for basic and digest authentication.

The syntax is:

AuthBasicProvider file dbm
AuthUserFile conf/basic-user
AuthDBMUserFile conf/basic-user-dbm

Revision 96794 - (view) (annotate) - [select for diffs]
Modified Fri Sep 13 21:55:31 2002 UTC (7 years, 2 months ago) by wrowe
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 4856 byte(s)
Diff to previous 96745 (colored)
  A quick-n-dirty hack.  Expose the auth_provider api from mod_auth_basic
  alone, on Win32 only.

  Requires mod_auth_basic be loaded prior to using mod_auth_digest or any
  other mod_authn/z modules.

  Win32 builds again.

Revision 96745 - (view) (annotate) - [select for diffs]
Modified Tue Sep 10 14:32:41 2002 UTC (7 years, 2 months ago) by trawick
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 4217 byte(s)
Diff to previous 96739 (colored)
fix a syntax error in an enum (as far as some non-gcc compilers are
concerned)

Revision 96739 - (view) (annotate) - [select for diffs]
Added Tue Sep 10 06:57:03 2002 UTC (7 years, 2 months ago) by jerenkrantz
Original Path: httpd/httpd/trunk/modules/aaa/mod_auth.h
File length: 4218 byte(s)
Stage #2 of aaa rewrite: Add provider support so that mod_authn_* modules
do not have to re-implement basic auth and to allow mod_auth_digest (and
other modules) to leverage the authn backends.

Adds AuthBasicProvider and AuthDigestProvider directives.

This also moves a lot of the basic auth handling code inside of mod_auth_basic
(but does not remove the code in server/protocol.c - that will have to wait
for a version bump so that we don't totally bust old modules).

This patch incorporates code review comments by Greg Stein.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2