httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1554169 - in /httpd/httpd/trunk/docs/manual: expr.html.en mod/mod_authnz_ldap.xml.fr mod/mod_authz_dbd.html.en
Date Mon, 30 Dec 2013 08:54:43 GMT
Author: minfrin
Date: Mon Dec 30 08:54:42 2013
New Revision: 1554169

URL: http://svn.apache.org/r1554169
Log:
Update transformation.

Modified:
    httpd/httpd/trunk/docs/manual/expr.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_authnz_ldap.xml.fr
    httpd/httpd/trunk/docs/manual/mod/mod_authz_dbd.html.en

Modified: httpd/httpd/trunk/docs/manual/expr.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/expr.html.en?rev=1554169&r1=1554168&r2=1554169&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/expr.html.en (original)
+++ httpd/httpd/trunk/docs/manual/expr.html.en Mon Dec 30 08:54:42 2013
@@ -46,7 +46,7 @@
 <li><img alt="" src="./images/down.gif" /> <a href="#other">Other</a></li>
 <li><img alt="" src="./images/down.gif" /> <a href="#sslrequire">Comparison
with SSLRequire</a></li>
 <li><img alt="" src="./images/down.gif" /> <a href="#compatibility">Version
History</a></li>
-</ul><h3>See also</h3><ul class="seealso"><li><code class="directive"><a
href="./mod/core.html#if">&lt;If&gt;</a></code></li><li><code
class="directive"><a href="./mod/core.html#elseif">&lt;ElseIf&gt;</a></code></li><li><code
class="directive"><a href="./mod/core.html#else">&lt;Else&gt;</a></code></li><li><code
class="directive"><a href="./mod/mod_auth_basic.html#authbasicfake">AuthBasicFake</a></code></li><li><code
class="directive"><a href="./mod/mod_auth_form.html#authformloginrequiredlocation">AuthFormLoginRequiredLocation</a></code></li><li><code
class="directive"><a href="./mod/mod_auth_form.html#authformloginsuccesslocation">AuthFormLoginSuccessLocation</a></code></li><li><code
class="directive"><a href="./mod/mod_auth_form.html#authformlogoutlocation">AuthFormLogoutLocation</a></code></li><li><code
class="directive"><a href="./mod/mod_rewrite.html#rewritecond">RewriteCond</a></code></li><li><code
class="directive"><a href="./mod/mod_setenvif.html#setenvifexpr">SetEnvIfExpr</
 a></code></li><li><code class="directive"><a href="./mod/mod_headers.html#header">Header</a></code></li><li><code
class="directive"><a href="./mod/mod_headers.html#requestheader">RequestHeader</a></code></li><li><code
class="directive"><a href="./mod/mod_filter.html#filterprovider">FilterProvider</a></code></li><li><a
href="mod/mod_authz_core.html#reqexpr">Require expr</a></li><li><a
href="mod/mod_authnz_ldap.html#requser">Require ldap-user</a></li><li><a
href="mod/mod_authnz_ldap.html#reqgroup">Require ldap-group</a></li><li><a
href="mod/mod_authnz_ldap.html#reqdn">Require ldap-dn</a></li><li><a
href="mod/mod_authnz_ldap.html#reqattribute">Require ldap-attribute</a></li><li><a
href="mod/mod_authnz_ldap.html#reqfilter">Require ldap-filter</a></li><li><code
class="directive"><a href="./mod/mod_ssl.html#sslrequire">SSLRequire</a></code></li><li><code
class="directive"><a href="./mod/mod_log_debug.html#logmessage">LogMessage</a></code></li><li><code
class="module"><a href="./mod/mod_in
 clude.html">mod_include</a></code></li></ul><ul class="seealso"><li><a
href="#comments_section">Comments</a></li></ul></div>
+</ul><h3>See also</h3><ul class="seealso"><li><code class="directive"><a
href="./mod/core.html#if">&lt;If&gt;</a></code></li><li><code
class="directive"><a href="./mod/core.html#elseif">&lt;ElseIf&gt;</a></code></li><li><code
class="directive"><a href="./mod/core.html#else">&lt;Else&gt;</a></code></li><li><code
class="directive"><a href="./mod/mod_auth_basic.html#authbasicfake">AuthBasicFake</a></code></li><li><code
class="directive"><a href="./mod/mod_auth_form.html#authformloginrequiredlocation">AuthFormLoginRequiredLocation</a></code></li><li><code
class="directive"><a href="./mod/mod_auth_form.html#authformloginsuccesslocation">AuthFormLoginSuccessLocation</a></code></li><li><code
class="directive"><a href="./mod/mod_auth_form.html#authformlogoutlocation">AuthFormLogoutLocation</a></code></li><li><code
class="directive"><a href="./mod/mod_rewrite.html#rewritecond">RewriteCond</a></code></li><li><code
class="directive"><a href="./mod/mod_setenvif.html#setenvifexpr">SetEnvIfExpr</
 a></code></li><li><code class="directive"><a href="./mod/mod_headers.html#header">Header</a></code></li><li><code
class="directive"><a href="./mod/mod_headers.html#requestheader">RequestHeader</a></code></li><li><code
class="directive"><a href="./mod/mod_filter.html#filterprovider">FilterProvider</a></code></li><li><a
href="mod/mod_authz_core.html#reqexpr">Require expr</a></li><li><a
href="mod/mod_authnz_ldap.html#requser">Require ldap-user</a></li><li><a
href="mod/mod_authnz_ldap.html#reqgroup">Require ldap-group</a></li><li><a
href="mod/mod_authnz_ldap.html#reqdn">Require ldap-dn</a></li><li><a
href="mod/mod_authnz_ldap.html#reqattribute">Require ldap-attribute</a></li><li><a
href="mod/mod_authnz_ldap.html#reqfilter">Require ldap-filter</a></li><li><a
href="mod/mod_authz_dbd.html#reqgroup">Require dbd-group</a></li><li><code
class="directive"><a href="./mod/mod_ssl.html#sslrequire">SSLRequire</a></code></li><li><code
class="directive"><a href="./mod/mod_log_debug.html#logmessage">
 LogMessage</a></code></li><li><code class="module"><a href="./mod/mod_include.html">mod_include</a></code></li></ul><ul
class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
 <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif"
/></a></div>
 <div class="section">
 <h2><a name="grammar" id="grammar">Grammar in Backus-Naur Form notation</a></h2>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_authnz_ldap.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_authnz_ldap.xml.fr?rev=1554169&r1=1554168&r2=1554169&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_authnz_ldap.xml.fr (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_authnz_ldap.xml.fr Mon Dec 30 08:54:42 2013
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1546567:1553487 (outdated) -->
+<!-- English Revision: 1546567:1554161 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 

Modified: httpd/httpd/trunk/docs/manual/mod/mod_authz_dbd.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_authz_dbd.html.en?rev=1554169&r1=1554168&r2=1554169&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_authz_dbd.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_authz_dbd.html.en Mon Dec 30 08:54:42 2013
@@ -56,6 +56,7 @@
 </ul>
 <h3>Topics</h3>
 <ul id="topics">
+<li><img alt="" src="../images/down.gif" /> <a href="#requiredirectives">The
Require Directives</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#login">Database Login</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#client">Client Login
integration</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#example">Configuration
example</a></li>
@@ -71,6 +72,58 @@
 </ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"
/></a></div>
 <div class="section">
+<h2><a name="requiredirectives" id="requiredirectives">The Require Directives</a></h2>
+
+    <p>Apache's <code class="directive"><a href="../mod/mod_authz_core.html#require">Require</a></code>
+    directives are used during the authorization phase to ensure that
+    a user is allowed to access a resource.  mod_authz_dbd extends the
+    authorization types with <code>dbd-group</code>, <code>dbd-login</code>
and
+    <code>dbd-logout</code>.</p>
+
+    <p>Since v2.5.0, <a href="../expr.html">expressions</a> are supported
+    within the DBD require directives.</p>
+
+<h3><a name="reqgroup" id="reqgroup">Require dbd-group</a></h3>
+
+    <p>This directive specifies group membership that is required for the
+    user to gain access.</p>
+
+    <pre class="prettyprint lang-config">
+      Require dbd-group team
+      AuthzDBDQuery "SELECT group FROM authz WHERE user = %s"
+    </pre>
+
+
+
+
+<h3><a name="reqlogin" id="reqlogin">Require dbd-login</a></h3>
+
+    <p>This directive specifies a query to be run indicating the user
+    has logged in.</p>
+
+    <pre class="prettyprint lang-config">
+      Require dbd-login
+      AuthzDBDQuery "UPDATE authn SET login = 'true' WHERE user = %s"
+    </pre>
+
+
+
+
+<h3><a name="reqlogout" id="reqlogout">Require dbd-logout</a></h3>
+
+    <p>This directive specifies a query to be run indicating the user
+    has logged out.</p>
+
+    <pre class="prettyprint lang-config">
+      Require dbd-logout
+      AuthzDBDQuery "UPDATE authn SET login = 'false' WHERE user = %s"
+    </pre>
+
+
+
+
+</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"
/></a></div>
+<div class="section">
 <h2><a name="login" id="login">Database Login</a></h2>
 
 <p>



Mime
View raw message