You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/08/03 15:53:20 UTC

svn commit: r1368959 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml

Author: humbedooh
Date: Fri Aug  3 13:53:20 2012
New Revision: 1368959

URL: http://svn.apache.org/viewvc?rev=1368959&view=rev
Log:
Fix up the order of hooks and separate auth and access hooks.

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_lua.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml?rev=1368959&r1=1368958&r2=1368959&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml Fri Aug  3 13:53:20 2012
@@ -223,9 +223,9 @@ performing access control, or setting mi
     </tr>
     <tr>
         <td>Check Access</td>
-        <td><directive module="mod_lua">LuaHookAuthChecker</directive> or <directive module="mod_lua">LuaAuthzProvider</directive></td>
-        <td>This phase authenticates and grants or denies access to the 
-            requested resource</td>
+        <td><directive module="mod_lua">LuaHookAccessChecker</directive></td>
+        <td>This phase checks whether a client has access to a resource. This 
+            phase is run before the user is authenticated, so beware.
     </tr>
     <tr>
         <td>Check User ID</td>
@@ -233,6 +233,14 @@ performing access control, or setting mi
         <td>This phase it used to check the negotiated user ID</td>
     </tr>
     <tr>
+        <td>Check Authorization</td>
+        <td><directive module="mod_lua">LuaHookAuthChecker</directive> or 
+            <directive module="mod_lua">LuaAuthzProvider</directive></td>
+        <td>This phase authorizes a user based on the negotiated credentials, such as 
+            user ID, client certificate etc.
+        </td>
+    </tr>
+    <tr>
         <td>Check Type</td>
         <td><directive module="mod_lua">LuaHookTypeChecker</directive></td>
         <td>This phase checks the requested file and assigns a content type and