From 1b7d27af23dfcb7199c9e1108e6ffdf46458ffda Mon Sep 17 00:00:00 2001
From: Daniel Gruno <humbedooh@apache.org>
Date: Fri, 3 Aug 2012 13:53:20 +0000
Subject: [PATCH] Fix up the order of hooks and separate auth and access hooks.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368959 13f79535-47bb-0310-9956-ffa450edef68
---
 docs/manual/mod/mod_lua.xml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml
index d7217defe0..389b397939 100644
--- a/docs/manual/mod/mod_lua.xml
+++ b/docs/manual/mod/mod_lua.xml
@@ -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>
-- 
2.40.0