]> granicus.if.org Git - apache/commitdiff
Fix up the order of hooks and separate auth and access hooks.
authorDaniel Gruno <humbedooh@apache.org>
Fri, 3 Aug 2012 13:53:20 +0000 (13:53 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Fri, 3 Aug 2012 13:53:20 +0000 (13:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368959 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml

index d7217defe02aec649344dcaf1b4fa4c957b74266..389b397939c9816178dd19b7437d9b0d19d1917d 100644 (file)
@@ -223,15 +223,23 @@ performing access control, or setting mimetypes:</p>
     </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>
         <td><directive module="mod_lua">LuaHookCheckUserID</directive></td>
         <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>