1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-02 06:53:27 +03:00
Commit Graph

21 Commits

Author SHA1 Message Date
Eric Covener
8d0325ec6d was never backported to 2.4.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1726339 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 23:04:25 +00:00
Christophe Jaillet
db9ee8fd2c Fix doc as spotted by Falco Schwarz in online doc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1674608 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 11:50:25 +00:00
Ken Coar
0566cf0f31 Simply remove trailing whitespace.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673947 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 20:16:24 +00:00
Ken Coar
a90c8fdafb Following up on BZ 53530.. putting quotation marks around
arbitrary-text, complex, and/or filesystem directive arguments.
More to do..


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673582 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 23:35:26 +00:00
Graham Leggett
6f4e16eca6 mod_authn_core: Add expression support to AuthName and AuthType.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1663123 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 14:37:11 +00:00
Eric Covener
9fec8dcd9c two commenters were confused authnprovideralias
providing special config to authz providers


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613318 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 22:45:33 +00:00
Eric Covener
40e7c22028 add a warning in the LDAP AuthnProviderAlias and expecting to have a configured
LDAP authorization provider.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1352084 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 13:12:36 +00:00
Daniel Gruno
8e39721547 Fix up examples
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1336426 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 22:07:56 +00:00
Daniel Gruno
a3d2bba55b Syntax for mod_a*.xml and MPMs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330911 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 15:47:56 +00:00
Jim Jagielski
69c1a5c854 Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174747 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:36:39 +00:00
Rich Bowen
25bad8d37e Adds a mod_authn_file example to the AuthProviderAlias docs, since more
people understand mod_authn_file than understand LDAP.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@737588 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 22:13:40 +00:00
Lucien Gentis
d3d049bdfb Style correction
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@719992 13f79535-47bb-0310-9956-ffa450edef68
2008-11-23 14:44:40 +00:00
Chris Darroch
097b993e8e Add AuthType of None to support disabling authentication.
Prevent crash when provider alias created to provider which is not
yet registered.
Migrate remaining functionality of mod_authn_default to mod_authn_core.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709553 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 20:18:07 +00:00
Vincent Bray
abe71efea4 Pet peeve: fix capitalisation of 'Require' directive
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@635137 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 02:31:41 +00:00
Bradley Nicholes
d0c0759137 Update the example and fix typos
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@619498 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 16:46:09 +00:00
Bradley Nicholes
625211496d Remove the "virtual host" context for the AuthnProviderAlias directive in the documentation
Submitted by: Vicent Bray < noodlet gmail com >

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475021 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 22:24:53 +00:00
Roy T. Fielding
44fa6e0073 update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420990 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 20:55:32 +00:00
Colm MacCarthaigh
dd95d7c37c Update the copyright year in all .c, .h and .xml files
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 12:11:27 +00:00
Bradley Nicholes
e14b2e2db3 Move the AuthnProviderAlias documentation into mod_authn_core since that is now where the directive lives
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@373045 13f79535-47bb-0310-9956-ffa450edef68
2006-01-28 00:34:20 +00:00
André Malo
bd1e90ea81 Fix properties, add missing transformed files and update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@369240 13f79535-47bb-0310-9956-ffa450edef68
2006-01-15 17:57:12 +00:00
Bradley Nicholes
9fed4c73d7 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.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@368027 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 14:30:28 +00:00