From: Reini U. <ru...@us...> - 2004-03-10 15:59:35
|
Update of /cvsroot/phpwiki/phpwiki/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22223/doc Modified Files: README.phpwiki-auth Log Message: use default pref mysql table Index: README.phpwiki-auth =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/doc/README.phpwiki-auth,v retrieving revision 1.3 retrieving revision 1.4 diff -u -2 -b -p -d -r1.3 -r1.4 --- README.phpwiki-auth 26 Feb 2004 01:36:00 -0000 1.3 +++ README.phpwiki-auth 10 Mar 2004 15:41:27 -0000 1.4 @@ -95,9 +95,12 @@ $USER_AUTH_ORDER is an array of the foll * __~BogoLogin__: This will eventually replace the old ALLOW_BOGO_LOGIN constant, but it will require PASSWORD_LENGTH_MINIMUM. So non-empty passwords can be disabled. * __~PersonalPage__: Store passwords in the users homepage metadata (simple) -* __~HttpAuth__: Use the protection by the webserver, either .htaccess or httpd.conf * __Db__: Use $DBAuthParams~[~] (see below) with PearDB or ADODB only. If 'auth_dsn' is undefined, and wiki pages are stored via SQL or ADODB, it uses the same database. (fastest) * __LDAP__: Authenticate against LDAP_AUTH_HOST with the LDAP_AUTH_SEARCH settings * __IMAP__: Authenticate against IMAP_AUTH_HOST (e.g. an existing email account) * __File__: Check username:crypted-passwords in .htaccess like files. Use Apache's htpasswd program to manage this file. +* __~HttpAuth__: Use the protection by the webserver, either .htaccess or httpd.conf + If no HTTP AUTH is enforced by the webserver (e.g no require valid-user), then + this method will enforce error 401 to force the client to display a password + entry dialog. Each method is a WikiUser (in fact a ~_PassUser) class, which defines the checkPass() and userExists() methods and optionally mayChangePass() and storePass(). |