summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2006-01-10 16:35:10 +0000
committerBradley Nicholes <bnicholes@apache.org>2006-01-10 16:35:10 +0000
commitccff75199f162c9844970d95f5295421a4d27b18 (patch)
tree1bfa3351b5e4d83a2416e6e6f3b1f04c328d5b4d /docs
parent2b438a059c48f1589acdf621ceaf062c09d9e8d1 (diff)
downloadhttpd-authz-dev.tar.gz
Change <RequireAll><RequireOne> to <SatisfyAll><SatisfyOne>. The keyword 'Satisfy' seems to fit a little better since the blocks can contain both 'Require' and 'Reject' directivesauthz-dev
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@367678 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/howto/auth.xml20
-rw-r--r--docs/manual/mod/mod_authz_core.xml34
2 files changed, 27 insertions, 27 deletions
diff --git a/docs/manual/howto/auth.xml b/docs/manual/howto/auth.xml
index 5e29279298..cad2eb8e72 100644
--- a/docs/manual/howto/auth.xml
+++ b/docs/manual/howto/auth.xml
@@ -380,24 +380,24 @@ do?</title>
you can specify just part of an address or domain name:</p>
<example>
- &lt;RequireAll&gt;<br />
+ &lt;SatisfyAll&gt;<br />
&nbsp; Reject ip <var>192.101.205</var><br />
&nbsp; Reject host <var>cyberthugs.com</var> <var>moreidiots.com</var><br />
&nbsp; Reject host ke<br />
- &lt;/RequireAll&gt;
+ &lt;/SatisfyAll&gt;
</example>
<p>Using the <directive module="mod_authz_host">Reject</directive> directive
- inside of a <directive module="mod_authz_core">&lt;RequireAll&gt;</directive>
+ inside of a <directive module="mod_authz_core">&lt;SatisfyAll&gt;</directive>
block, will let you be sure that you are actually restricting things to
only the group that you want to let in.</p>
<p>The above example uses the <directive module="mod_authz_core">
- &lt;RequireAll&gt;</directive> block to make sure that all of the
+ &lt;SatisfyAll&gt;</directive> block to make sure that all of the
<directive module="mod_authz_host">Reject</directive> directives are
satisfied before granting access. The <directive module="mod_authz_core">
- &lt;RequireAll&gt;</directive> block as well as the
- <directive module="mod_authz_core">&lt;RequireOne&gt;</directive> block
+ &lt;SatisfyAll&gt;</directive> block as well as the
+ <directive module="mod_authz_core">&lt;SatisfyOne&gt;</directive> block
allow you to apply "AND" and "OR" logic to the authorization processing.
For example the following authorization block would apply the logic:</p>
@@ -418,14 +418,14 @@ do?</title>
&nbsp; AuthBasicProvider ...<br />
&nbsp; ...<br />
&nbsp; Require user John<br />
- &nbsp; &lt;RequireAll&gt;<br />
+ &nbsp; &lt;SatisfyAll&gt;<br />
&nbsp;&nbsp; Require Group admins<br />
&nbsp;&nbsp; Require ldap-group cn=mygroup,o=foo<br />
- &nbsp;&nbsp; &lt;RequireOne&gt;<br />
+ &nbsp;&nbsp; &lt;SatisfyOne&gt;<br />
&nbsp;&nbsp;&nbsp; Require ldap-attribute dept="sales"<br />
&nbsp;&nbsp;&nbsp; Require file-group<br />
- &nbsp;&nbsp; &lt;/RequireOne&gt;<br />
- &nbsp; &lt;/RequireAll&gt;<br />
+ &nbsp;&nbsp; &lt;/SatisfyOne&gt;<br />
+ &nbsp; &lt;/SatisfyAll&gt;<br />
&lt;/Directory&gt;<br />
</example>
diff --git a/docs/manual/mod/mod_authz_core.xml b/docs/manual/mod/mod_authz_core.xml
index 52a57e345b..9faac243ee 100644
--- a/docs/manual/mod/mod_authz_core.xml
+++ b/docs/manual/mod/mod_authz_core.xml
@@ -134,25 +134,25 @@ a resource</description>
</directivesynopsis>
<directivesynopsis type="section">
-<name>RequireAll</name>
+<name>SatisfyAll</name>
<description>Enclose a group of authorization directives that must all
be satisfied in order to grant access to a resource. This block allows
for 'AND' logic to be applied to various authorization providers.</description>
-<syntax>&lt;RequireAll&gt;
-... &lt;/RequireAll&gt;</syntax>
+<syntax>&lt;SatisfyAll&gt;
+... &lt;/SatisfyAll&gt;</syntax>
<contextlist><context>directory</context><context>.htaccess</context>
</contextlist>
<override>AuthConfig</override>
<usage>
- <p><directive type="section">RequireAll</directive> and
- <code>&lt;/RequireAll&gt;</code> are used to enclose a group of
+ <p><directive type="section">SatisfyAll</directive> and
+ <code>&lt;/SatisfyAll&gt;</code> are used to enclose a group of
authorization directives that must all be satisfied in order to
grant access to a resource.</p>
<p>The <directive module="mod_authz_core">
- &lt;RequireAll&gt;</directive> block as well as the
- <directive module="mod_authz_core">&lt;RequireOne&gt;</directive> block
+ &lt;SatisfyAll&gt;</directive> block as well as the
+ <directive module="mod_authz_core">&lt;SatisfyOne&gt;</directive> block
allow you to apply "AND" and "OR" logic to the authorization processing.
For example the following authorization block would apply the logic:</p>
@@ -173,14 +173,14 @@ for 'AND' logic to be applied to various authorization providers.</description>
&nbsp; AuthBasicProvider ...<br />
&nbsp; ...<br />
&nbsp; Require user John<br />
- &nbsp; &lt;RequireAll&gt;<br />
+ &nbsp; &lt;SatisfyAll&gt;<br />
&nbsp;&nbsp; Require Group admins<br />
&nbsp;&nbsp; Require ldap-group cn=mygroup,o=foo<br />
- &nbsp;&nbsp; &lt;RequireOne&gt;<br />
+ &nbsp;&nbsp; &lt;SatisfyOne&gt;<br />
&nbsp;&nbsp;&nbsp; Require ldap-attribute dept="sales"<br />
&nbsp;&nbsp;&nbsp; Require file-group<br />
- &nbsp;&nbsp; &lt;/RequireOne&gt;<br />
- &nbsp; &lt;/RequireAll&gt;<br />
+ &nbsp;&nbsp; &lt;/SatisfyOne&gt;<br />
+ &nbsp; &lt;/SatisfyAll&gt;<br />
&lt;/Directory&gt;<br />
</example>
@@ -192,25 +192,25 @@ for 'AND' logic to be applied to various authorization providers.</description>
</directivesynopsis>
<directivesynopsis type="section">
-<name>RequireOne</name>
+<name>SatisfyOne</name>
<description>Enclose a group of authorization directives that must
satisfy at least one in order to grant access to a resource. This
block allows for 'OR' logic to be applied to various authorization
providers.</description>
-<syntax>&lt;RequireOne&gt;
-... &lt;/RequireOne&gt;</syntax>
+<syntax>&lt;SatisfyOne&gt;
+... &lt;/SatisfyOne&gt;</syntax>
<contextlist><context>directory</context><context>.htaccess</context>
</contextlist>
<override>AuthConfig</override>
<usage>
- <p><directive type="section">RequireOne</directive> and
- <code>&lt;/RequireOne&gt;</code> are used to enclose a group of
+ <p><directive type="section">SatisfyOne</directive> and
+ <code>&lt;/SatisfyOne&gt;</code> are used to enclose a group of
authorization directives that must satisfy at least one in order to
grant access to a resource.</p>
<p>See the <directive module="mod_authz_core">
- &lt;RequireAll&gt;</directive> directive for a usage example.</p>
+ &lt;SatisfyAll&gt;</directive> directive for a usage example.</p>
</usage>