incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: incubator-ftpserver/xdocs user_manager.xml
Date Thu, 06 Oct 2005 06:13:53 GMT
rana_b      2005/10/05 23:13:53

  Modified:    xdocs    user_manager.xml
  Log:
  db user manager uses a SQL query to check admin role
  
  Revision  Changes    Path
  1.2       +16 -2     incubator-ftpserver/xdocs/user_manager.xml
  
  Index: user_manager.xml
  ===================================================================
  RCS file: /home/cvs/incubator-ftpserver/xdocs/user_manager.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- user_manager.xml	28 Sep 2005 10:51:09 -0000	1.1
  +++ user_manager.xml	6 Oct 2005 06:13:53 -0000	1.2
  @@ -21,8 +21,8 @@
           <author email="rana_b@yahoo.com">Rana Bhattacharyya</author>
       </properties>
       <head>
  -        <link rel="shortcut icon" href="favicon.ico" />
  -        <link rel="icon" href="favicon.ico" />
  +        <link rel="shortcut icon" href="favicon.ico"/>
  +        <link rel="icon" href="favicon.ico"/>
       </head>
       <body>
           <section name="Properties File Based User Manager">
  @@ -204,6 +204,18 @@
                               ]]></source>
                           </td>
                       </tr>
  +                    <tr>
  +                        <td>config.user-manager.sql-user-admin</td>
  +                        <td>SQL SELECT statement used to find whether an user is
admin or not.
  +                            All the dynamic values will be replaced during runtime.
  +                            Sample query:
  +                            <source><![CDATA[
  +    SELECT uid
  +    FROM FTP_USER
  +    WHERE uid='{uid}' AND WHERE uid='admin'
  +                            ]]></source>
  +                        </td>
  +                    </tr>
                   </table>
               </subsection>
               <div class="warningmessage">If the sql-user-authenticate SELECT query
returns no row, it means
  @@ -213,6 +225,8 @@
                     the user will be always authenticated. If there is no user for the specified
                     uid and userpassword, the query will return a single row with value 0.
As
                     there is one row, the user will be always authenticated.
  +                  <br/>
  +                  This is also true for sql-user-authenticate SQL query.
               </div>
           </section>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message