cvs: pear /Auth Auth.php Container.php package.xml /Auth/Auth Anonymous.php Auth.php Controller.php /Auth/Container DB.php DBLite.php File.php
IMAP.php LDAP.php MDB.php MDB2.php PEAR.php POP3.php RADIUS.php SMBPasswd.php SOAP.php vpopmail.php /Auth/Frontend Html.php
| From: | Adam AShley | Date: | Thu, 02 Mar 2006 04:42:07 +0000 |
| Subject: | cvs: pear /Auth Auth.php Container.php package.xml /Auth/Auth Anonymous.php Auth.php Controller.php /Auth/Container DB.php DBLite.php File.php IMAP.php LDAP.php MDB.php MDB2.php PEAR.php POP3.php RADIUS.php SMBPasswd.php SOAP.php vpopmail.php /Auth/Frontend Html.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38839@lists.php.net to get a copy of this message | ||
aashley Thu Mar 2 04:42:07 2006 UTC
Modified files:
/pear/Auth Auth.php Container.php package.xml
/pear/Auth/Auth Anonymous.php Auth.php Controller.php
/pear/Auth/Container DB.php DBLite.php File.php IMAP.php LDAP.php
MDB.php MDB2.php PEAR.php POP3.php RADIUS.php
SMBPasswd.php SOAP.php vpopmail.php
/pear/Auth/Frontend Html.php
Log:
Documentation changes for 1.3.0 stable
http://cvs.php.net/viewcvs.cgi/pear/Auth/Auth.php?r1=1.99&r2=1.100&diff_format=u Index: pear/Auth/Auth.php diff -u pear/Auth/Auth.php:1.99 pear/Auth/Auth.php:1.100 --- pear/Auth/Auth.php:1.99 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Auth.php Thu Mar 2 04:42:06 2006 @@ -1,28 +1,46 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Auth.php,v 1.99 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * The main include file for Auth package + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Auth.php,v 1.100 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + */ + +/** + * Returned if session exceeds idle time + */ define('AUTH_IDLED', -1); +/** + * Returned if session has expired + */ define('AUTH_EXPIRED', -2); +/** + * Returned if container is unable to authenticate user/password pair + */ define('AUTH_WRONG_LOGIN', -3); +/** + * Returned if a container method is not supported. + */ define('AUTH_METHOD_NOT_SUPPORTED', -4); +/** + * Returned if new Advanced security system detects a breach + */ define('AUTH_SECURITY_BREACH', -5); /** @@ -31,10 +49,14 @@ * The PEAR::Auth class provides methods for creating an * authentication system using PHP. * - * @author Martin Jansen <mj@php.net> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.99 $ + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.100 $ + * @link http://pear.php.net/package/Auth */ class Auth { @@ -229,7 +251,6 @@ var $authChecks = 0; // }}} - // {{{ Auth() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container.php?r1=1.21&r2=1.22&diff_format=u Index: pear/Auth/Container.php diff -u pear/Auth/Container.php:1.21 pear/Auth/Container.php:1.22 --- pear/Auth/Container.php:1.21 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container.php Thu Mar 2 04:42:06 2006 @@ -1,30 +1,38 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Container.php,v 1.21 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ + +/** + * Auth_Container Base Class + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Container.php,v 1.22 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + */ /** * Storage class for fetching login data * - * @author Martin Jansen <mj@php.net> - * @author Adam Ashley <aashley@php.net> - * @package Auth + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.22 $ + * @link http://pear.php.net/package/Auth */ class Auth_Container { @@ -39,7 +47,6 @@ var $activeUser = ""; // }}} - // {{{ Auth_Container() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/package.xml?r1=1.77&r2=1.78&diff_format=u Index: pear/Auth/package.xml diff -u pear/Auth/package.xml:1.77 pear/Auth/package.xml:1.78 --- pear/Auth/package.xml:1.77 Wed Mar 1 06:26:10 2006 +++ pear/Auth/package.xml Thu Mar 2 04:42:06 2006 @@ -19,6 +19,7 @@ * RADIUS * SAMBA password files * SOAP +* PEAR website </description> <maintainers> <maintainer> @@ -47,96 +48,165 @@ </maintainer> </maintainers> <release> - <version>1.3.0RC7</version> - <date>2006-03-01</date> + <version>1.3.0</version> + <date>2006-03-02</date> <license>PHP License</license> - <state>beta</state> + <state>stable</state> <notes> <![CDATA[ -This release is primarily a coding standard clean-up before the 1.3.0 final -release. +This is the final stable release of Auth 1.3.0. This version contains many new +features over previous versions. Summary of changes: -In addition the following improvements to the LDAP Container where supplied -by Hugues Peeters <hugues.peeters@claroline.net>. - * Changed default attrformat to AUTH so that loaded attributes are - presented in the same format as other backends provide. - * Added compatibility support to 1.2 style configuration options - * Attributes option now accepts a comma seperated string as well as - as array the same as db_fields in the DB, MDB and MDB2 backends. - -Finally there are additional checks that the relevant PHP module is loaded -when loading the IMAP and VPOPMail Containers. + * New MDB2 container [30/March/2004 - quipo] + * New PEAR container, authenticate against pear.php.net [16/Dec/2003 - yavo] + * New Advanced Security mode to catch man-in-the-middle attacks. + * Added options for changing the post variables, patch supplied by Moritz + Heidkamp <moritz.heidkamp@invision-team.de> + * New DBLite container, same as DB but with the user manipulation functions + removed (50% smaller). + * Split login form to Auth_Frontend_HTML with goal to make it easily + customisable. + +Numerous other small fixes and improvements to all storage containers thanks +to the following people: Matt Eaton, Jeroen Houben, Cipriano Groenendal, +Markku Turunen, Matthew Van Gundy, marc at practeo dot ch and I'm sure many +others that have contributed over the years it's taken to get this release +out. ]]> </notes> <filelist> <file role="php" baseinstalldir="" name="Auth.php"> - <replace from="@version@" to="version" type="package-info"/> + <replace from="@package_version@" to="version" type="package-info"/> </file> - <!-- Added for compatibility with the previous Auth --> + <dir name="Auth" role="php" baseinstalldir=""> - <file name="Auth.php" /> - <file name="Controller.php" /> + <file name="Anonymous.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <!-- Added for compatibility with the previous Auth --> + <file name="Auth.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="Controller.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> </dir> - <file role="php" baseinstalldir="Auth" name="Container.php"/> + + <file role="php" baseinstalldir="Auth" name="Container.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> <file role="doc" baseinstalldir="Auth" name="README.Auth"/> + <dir name="Container" role="php" baseinstalldir="Auth"> - <file name="DB.php"/> - <file name="DBLite.php"/> - <file name="File.php"/> - <file name="IMAP.php"/> - <file name="POP3.php"/> - <file name="LDAP.php"/> - <file name="MDB.php"/> - <file name="MDB2.php"/> - <file name="RADIUS.php"/> - <file name="SMBPasswd.php"/> - <file name="SOAP.php"/> - <file name="vpopmail.php"/> - <file name="PEAR.php"/> + <file name="DB.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="DBLite.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="File.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="IMAP.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="POP3.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="LDAP.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="MDB.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="MDB2.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="RADIUS.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="SMBPasswd.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="SOAP.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="vpopmail.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="PEAR.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> </dir> <dir name="Frontend" role="php" baseinstalldir="Auth"> - <file name="Html.php"/> + <file name="Html.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> <file name="md5.js"/> </dir> <!-- The Test suite --> <dir name="tests" role="test" baseinstalldir="Auth"> - <file name="auth_container_db_options.php"/> - <file name="DBContainer.php"/> - <file name="auth_container_file_options.php"/> - <file name="FileContainer.php"/> - <file name="auth_container_pop3_options.php"/> - <file name="auth_container_mdb_options.php"/> - <file name="MDBContainer.php"/> - <file name="auth_container_mdb2_options.php"/> - <file name="MDB2Container.php"/> - <file name="POP3Container.php"/> - <file name="auth_container_pop3a_options.php"/> - <file name="POP3aContainer.php"/> - <file name="TestAuthContainer.php"/> - <file name="users"/> - <file name="tests.php"/> - <file name="mysql_test_db.sql"/> + <file name="auth_container_db_options.php"/> + <file name="DBContainer.php"/> + <file name="auth_container_file_options.php"/> + <file name="FileContainer.php"/> + <file name="auth_container_pop3_options.php"/> + <file name="auth_container_mdb_options.php"/> + <file name="MDBContainer.php"/> + <file name="auth_container_mdb2_options.php"/> + <file name="MDB2Container.php"/> + <file name="POP3Container.php"/> + <file name="auth_container_pop3a_options.php"/> + <file name="POP3aContainer.php"/> + <file name="TestAuthContainer.php"/> + <file name="users"/> + <file name="tests.php"/> + <file name="mysql_test_db.sql"/> </dir> </filelist> <deps> - <dep type="pkg" rel="ge" version="0.9.5" optional="yes">File_Passwd</dep> - <dep type="pkg" rel="ge" version="1.3" optional="yes">Net_POP3</dep> - <dep type="pkg" rel="ge" version="1.6.0" optional="yes">DB</dep> - <dep type="pkg" rel="has" optional="yes">MDB</dep> - <dep type="pkg" rel="ge" version="2.0.0RC1" optional="yes">MDB2</dep> - <dep type="pkg" rel="has" optional="yes">Auth_RADIUS</dep> - <dep type="pkg" rel="ge" version="1.0.0" optional="yes">Crypt_CHAP</dep> - <dep type="pkg" rel="has" optional="yes">File_SMBPasswd</dep> - <dep type="ext" rel="has" optional="yes">imap</dep> - <dep type="ext" rel="has" optional="yes">vpopmail</dep> + <dep type="pkg" rel="ge" version="0.9.5" optional="yes">File_Passwd</dep> + <dep type="pkg" rel="ge" version="1.3" optional="yes">Net_POP3</dep> + <dep type="pkg" rel="ge" version="1.6.0" optional="yes">DB</dep> + <dep type="pkg" rel="has" optional="yes">MDB</dep> + <dep type="pkg" rel="ge" version="2.0.0RC1" optional="yes">MDB2</dep> + <dep type="pkg" rel="has" optional="yes">Auth_RADIUS</dep> + <dep type="pkg" rel="ge" version="1.0.0" optional="yes">Crypt_CHAP</dep> + <dep type="pkg" rel="has" optional="yes">File_SMBPasswd</dep> + <dep type="ext" rel="has" optional="yes">imap</dep> + <dep type="ext" rel="has" optional="yes">vpopmail</dep> </deps> </release> <changelog> + <release> + <version>1.3.0RC7</version> + <date>2006-03-01</date> + <license>PHP License</license> + <state>beta</state> + <notes> +<![CDATA[ +This release is primarily a coding standard clean-up before the 1.3.0 final +release. + +In addition the following improvements to the LDAP Container where supplied +by Hugues Peeters <hugues.peeters@claroline.net>. + * Changed default attrformat to AUTH so that loaded attributes are + presented in the same format as other backends provide. + * Added compatibility support to 1.2 style configuration options + * Attributes option now accepts a comma seperated string as well as + as array the same as db_fields in the DB, MDB and MDB2 backends. + +Finally there are additional checks that the relevant PHP module is loaded +when loading the IMAP and VPOPMail Containers. +]]> + </notes> + </release> + <release> <version>1.3.0RC6</version> <date>2006-02-22</date> http://cvs.php.net/viewcvs.cgi/pear/Auth/Auth/Anonymous.php?r1=1.3&r2=1.4&diff_format=u Index: pear/Auth/Auth/Anonymous.php diff -u pear/Auth/Auth/Anonymous.php:1.3 pear/Auth/Auth/Anonymous.php:1.4 --- pear/Auth/Auth/Anonymous.php:1.3 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Auth/Anonymous.php Thu Mar 2 04:42:06 2006 @@ -1,36 +1,48 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Anonymous.php,v 1.3 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Anonymous authentication support + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Yavor Shahpasov <yavo@netsmart.com.cy> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Anonymous.php,v 1.4 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 + */ + +/** + * Include Auth package + */ require_once 'Auth.php'; /** - * Anonymouse Authentication + * Anonymous Authentication * - * This class provides anonymous authentication - * if username and password were not supplied + * This class provides anonymous authentication if username and password + * were not supplied * - * @author Yavor Shahpasov <yavo@netsmart.com.cy> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.3 $ + * @category Authentication + * @package Auth + * @author Yavor Shahpasov <yavo@netsmart.com.cy> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.4 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Anonymous extends Auth { @@ -52,7 +64,6 @@ var $anonymous_username = 'anonymous'; // }}} - // {{{ Auth_Anonymous() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Auth/Auth.php?r1=1.2&r2=1.3&diff_format=u Index: pear/Auth/Auth/Auth.php diff -u pear/Auth/Auth/Auth.php:1.2 pear/Auth/Auth/Auth.php:1.3 --- pear/Auth/Auth/Auth.php:1.2 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Auth/Auth.php Thu Mar 2 04:42:06 2006 @@ -1,28 +1,29 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Auth.php,v 1.2 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ /** - * Compatibility File - * * Provide compatibility with previous Auth include location. + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Auth.php,v 1.3 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @deprecated File deprecated since Release 1.2.0 + */ + +/** + * Include Auth package */ require_once 'Auth.php'; http://cvs.php.net/viewcvs.cgi/pear/Auth/Auth/Controller.php?r1=1.8&r2=1.9&diff_format=u Index: pear/Auth/Auth/Controller.php diff -u pear/Auth/Auth/Controller.php:1.8 pear/Auth/Auth/Controller.php:1.9 --- pear/Auth/Auth/Controller.php:1.8 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Auth/Controller.php Thu Mar 2 04:42:06 2006 @@ -1,23 +1,27 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Controller.php,v 1.8 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ + +/** + * Auth Controller + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Yavor Shahpasov <yavo@netsmart.com.cy> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Controller.php,v 1.9 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 + */ /** * Controlls access to a group of php access @@ -45,10 +49,14 @@ * } * </code> * - * @author Yavor Shahpasov <yavo@netsmart.com.cy> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.8 $ + * @category Authentication + * @author Yavor Shahpasov <yavo@netsmart.com.cy> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.9 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Controller { @@ -84,7 +92,6 @@ var $autoRedirectBack = false; // }}} - // {{{ Auth_Controller() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/DB.php?r1=1.58&r2=1.59&diff_format=u Index: pear/Auth/Container/DB.php diff -u pear/Auth/Container/DB.php:1.58 pear/Auth/Container/DB.php:1.59 --- pear/Auth/Container/DB.php:1.58 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/DB.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,34 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: DB.php,v 1.58 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against PEAR DB + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: DB.php,v 1.59 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + */ + +/** + * Include Auth_Container base class + */ require_once 'Auth/Container.php'; +/** + * Include PEAR DB + */ require_once 'DB.php'; /** @@ -28,10 +37,14 @@ * This storage driver can use all databases which are supported * by the PEAR DB abstraction layer to fetch login data. * - * @author Martin Jansen <mj@php.net> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.58 $ + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.59 $ + * @link http://pear.php.net/package/Auth */ class Auth_Container_DB extends Auth_Container { @@ -58,7 +71,6 @@ var $activeUser = ''; // }}} - // {{{ Auth_Container_DB [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/DBLite.php?r1=1.5&r2=1.6&diff_format=u Index: pear/Auth/Container/DBLite.php diff -u pear/Auth/Container/DBLite.php:1.5 pear/Auth/Container/DBLite.php:1.6 --- pear/Auth/Container/DBLite.php:1.5 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/DBLite.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,35 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: DBLite.php,v 1.5 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Reduced storage driver for use against PEAR DB + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: DBLite.php,v 1.6 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 + */ + +/** + * Include Auth_Container base class + */ require_once 'Auth/Container.php'; +/** + * Include PEAR DB package + */ require_once 'DB.php'; /** @@ -29,10 +39,15 @@ * with the user manipulation function removed for smaller file size * by the PEAR DB abstraction layer to fetch login data. * - * @author Martin Jansen <mj@php.net> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.5 $ + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.6 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Container_DBLite extends Auth_Container { @@ -59,7 +74,6 @@ var $activeUser = ''; // }}} - // {{{ Auth_Container_DBLite() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/File.php?r1=1.18&r2=1.19&diff_format=u Index: pear/Auth/Container/File.php diff -u pear/Auth/Container/File.php:1.18 pear/Auth/Container/File.php:1.19 --- pear/Auth/Container/File.php:1.18 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/File.php Thu Mar 2 04:42:06 2006 @@ -1,28 +1,41 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Stefan Ekman <stekman@sedata.org> | -// | Martin Jansen <mj@php.net> | -// | Mika Tuupola <tuupola@appelsiini.net> | -// +----------------------------------------------------------------------+ -// -// $Id: File.php,v 1.18 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against a generic password file + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Stefan Ekman <stekman@sedata.org> + * @author Martin Jansen <mj@php.net> + * @author Mika Tuupola <tuupola@appelsiini.net> + * @author Michael Wallner <mike@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: File.php,v 1.19 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + */ + +/** + * Include PEAR File_Passwd package + */ require_once "File/Passwd.php"; +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; +/** + * Include PEAR package for error handling + */ require_once "PEAR.php"; /** @@ -30,10 +43,17 @@ * * This storage container can handle CVS pserver style passwd files. * - * @author Stefan Ekman <stekman@sedata.org> - * @author Michael Wallner <mike@php.net> - * @package Auth - * @version $Revision: 1.18 $ + * @category Authentication + * @package Auth + * @author Stefan Ekman <stekman@sedata.org> + * @author Martin Jansen <mj@php.net> + * @author Mika Tuupola <tuupola@appelsiini.net> + * @author Michael Wallner <mike@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.19 $ + * @link http://pear.php.net/package/Auth */ class Auth_Container_File extends Auth_Container { @@ -48,7 +68,6 @@ var $pwfile = ''; // }}} - // {{{ Auth_Container_File() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/IMAP.php?r1=1.12&r2=1.13&diff_format=u Index: pear/Auth/Container/IMAP.php diff -u pear/Auth/Container/IMAP.php:1.12 pear/Auth/Container/IMAP.php:1.13 --- pear/Auth/Container/IMAP.php:1.12 Wed Mar 1 06:08:30 2006 +++ pear/Auth/Container/IMAP.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,36 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Jeroen Houben <jeroen@terena.nl> | -// +----------------------------------------------------------------------+ -// -// $Id: IMAP.php,v 1.12 2006/03/01 06:08:30 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against IMAP servers + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Jeroen Houben <jeroen@terena.nl> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: IMAP.php,v 1.13 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.0 + */ + +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; + +/** + * Include PEAR class for error handling + */ require_once "PEAR.php"; /** @@ -43,7 +54,7 @@ * 'port' => 143, * ); * $myAuth = new Auth('IMAP', $params); - * .... + * ... * * By default we connect without any protocol options set. However, some * servers require you to connect with the notls or norsh options set. @@ -59,18 +70,16 @@ * Further options may be available and can be found on the php site at * http://www.php.net/manual/function.imap-open.php * - */ - -/** - * Storage driver for fetching login data from a IMAP server - * - * This storage driver authenticates uses against IMAP server. - * - * @author Jeroen Houben <jeroen@terena.nl> - * @author Cipriano Groenendal <cipri@campai.nl> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.12 $ + * @category Authentication + * @package Auth + * @author Jeroen Houben <jeroen@terena.nl> + * @author Cipriano Groenendal <cipri@campai.nl> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.13 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.0 */ class Auth_Container_IMAP extends Auth_Container { @@ -84,7 +93,6 @@ var $options = array(); // }}} - // {{{ Auth_Container_IMAP() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/LDAP.php?r1=1.28&r2=1.29&diff_format=u Index: pear/Auth/Container/LDAP.php diff -u pear/Auth/Container/LDAP.php:1.28 pear/Auth/Container/LDAP.php:1.29 --- pear/Auth/Container/LDAP.php:1.28 Wed Mar 1 13:53:44 2006 +++ pear/Auth/Container/LDAP.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,35 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2005 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Jan Wagner <wagner@netsols.de> | -// +----------------------------------------------------------------------+ -// -// $Id: LDAP.php,v 1.28 2006/03/01 13:53:44 jw Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against an LDAP server + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Jan Wagner <wagner@netsols.de> + * @author Adam Ashley <aashley@php.net> + * @author Hugues Peeters <hugues.peeters@claroline.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: LDAP.php,v 1.29 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + */ + +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; +/** + * Include PEAR package for error handling + */ require_once "PEAR.php"; /** @@ -167,10 +177,15 @@ * Example a3 shows a full blown and tested example for connection to * Windows 2000 Active Directory with group mebership checking * - * @author Jan Wagner <wagner@netsols.de> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.28 $ + * @category Authentication + * @package Auth + * @author Jan Wagner <wagner@netsols.de> + * @author Adam Ashley <aashley@php.net> + * @author Hugues Peeters <hugues.peeters@claroline.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.29 $ + * @link http://pear.php.net/package/Auth */ class Auth_Container_LDAP extends Auth_Container { http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/MDB.php?r1=1.22&r2=1.23&diff_format=u Index: pear/Auth/Container/MDB.php diff -u pear/Auth/Container/MDB.php:1.22 pear/Auth/Container/MDB.php:1.23 --- pear/Auth/Container/MDB.php:1.22 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/MDB.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,35 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Lorenzo Alberton <l.alberton@quipo.it> | -// +----------------------------------------------------------------------+ -// -// $Id: MDB.php,v 1.22 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against PEAR MDB + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Lorenzo Alberton <l.alberton@quipo.it> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: MDB.php,v 1.23 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.3 + */ + +/** + * Include Auth_Container base class + */ require_once 'Auth/Container.php'; +/** + * Include PEAR MDB package + */ require_once 'MDB.php'; /** @@ -28,10 +38,15 @@ * This storage driver can use all databases which are supported * by the PEAR MDB abstraction layer to fetch login data. * - * @author Lorenzo Alberton <l.alberton@quipo.it> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.22 $ + * @category Authentication + * @package Auth + * @author Lorenzo Alberton <l.alberton@quipo.it> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.23 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.3 */ class Auth_Container_MDB extends Auth_Container { @@ -58,7 +73,6 @@ var $activeUser = ''; // }}} - // {{{ Auth_Container_MDB() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/MDB2.php?r1=1.8&r2=1.9&diff_format=u Index: pear/Auth/Container/MDB2.php diff -u pear/Auth/Container/MDB2.php:1.8 pear/Auth/Container/MDB2.php:1.9 --- pear/Auth/Container/MDB2.php:1.8 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/MDB2.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,35 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Lorenzo Alberton <l.alberton@quipo.it> | -// +----------------------------------------------------------------------+ -// -// $Id: MDB2.php,v 1.8 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against PEAR MDB2 + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Lorenzo Alberton <l.alberton@quipo.it> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: MDB2.php,v 1.9 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 + */ + +/** + * Include Auth_Container base class + */ require_once 'Auth/Container.php'; +/** + * Include PEAR MDB2 package + */ require_once 'MDB2.php'; /** @@ -28,10 +38,15 @@ * This storage driver can use all databases which are supported * by the PEAR MDB2 abstraction layer to fetch login data. * - * @author Lorenzo Alberton <l.alberton@quipo.it> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.8 $ + * @category Authentication + * @package Auth + * @author Lorenzo Alberton <l.alberton@quipo.it> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.9 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Container_MDB2 extends Auth_Container { @@ -58,7 +73,6 @@ var $activeUser = ''; // }}} - // {{{ Auth_Container_MDB2() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/PEAR.php?r1=1.5&r2=1.6&diff_format=u Index: pear/Auth/Container/PEAR.php diff -u pear/Auth/Container/PEAR.php:1.5 pear/Auth/Container/PEAR.php:1.6 --- pear/Auth/Container/PEAR.php:1.5 Thu Mar 2 02:53:03 2006 +++ pear/Auth/Container/PEAR.php Thu Mar 2 04:42:06 2006 @@ -2,7 +2,7 @@ /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ /** - * Auth_Container Base Class + * Storage driver for use against PEAR website * * PHP versions 4 and 5 * @@ -18,8 +18,9 @@ * @author Adam Ashley <aashley@php.net> * @copyright 2001-2005 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License 3.01 - * @version CVS: $Id: PEAR.php,v 1.5 2006/03/02 02:53:03 aashley Exp $ + * @version CVS: $Id: PEAR.php,v 1.6 2006/03/02 04:42:06 aashley Exp $ * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 */ /** @@ -43,8 +44,9 @@ * @author Adam Ashley <aashley@php.net> * @copyright 2001-2005 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License 3.01 - * @version Release: @package_version@ + * @version Release: @package_version@ File: $Revision: 1.6 $ * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Container_Pear extends Auth_Container { http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/POP3.php?r1=1.6&r2=1.7&diff_format=u Index: pear/Auth/Container/POP3.php diff -u pear/Auth/Container/POP3.php:1.6 pear/Auth/Container/POP3.php:1.7 --- pear/Auth/Container/POP3.php:1.6 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/POP3.php Thu Mar 2 04:42:06 2006 @@ -1,36 +1,56 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Stefan Ekman <stekman@sedata.org> | -// | Martin Jansen <mj@php.net> | -// | Mika Tuupola <tuupola@appelsiini.net> | -// +----------------------------------------------------------------------+ -// -// $Id: POP3.php,v 1.6 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against a POP3 server + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Stefan Ekman <stekman@sedata.org> + * @author Martin Jansen <mj@php.net> + * @author Mika Tuupola <tuupola@appelsiini.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: POP3.php,v 1.7 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.0 + */ + +/** + * Include Auth_Container base class + */ require_once 'Auth/Container.php'; +/** + * Include PEAR package for error handling + */ require_once 'PEAR.php'; +/** + * Include PEAR Net_POP3 package + */ require_once 'Net/POP3.php'; /** * Storage driver for Authentication on a POP3 server. * - * @author Yavor Shahpasov <yavo@netsmart.com.cy> - * @package Auth - * @version $Revision: 1.6 $ + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Mika Tuupola <tuupola@appelsiini.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.7 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.0 */ class Auth_Container_POP3 extends Auth_Container { @@ -62,7 +82,6 @@ var $method=true; // }}} - // {{{ Auth_Container_POP3() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/RADIUS.php?r1=1.9&r2=1.10&diff_format=u Index: pear/Auth/Container/RADIUS.php diff -u pear/Auth/Container/RADIUS.php:1.9 pear/Auth/Container/RADIUS.php:1.10 --- pear/Auth/Container/RADIUS.php:1.9 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/RADIUS.php Thu Mar 2 04:42:06 2006 @@ -1,34 +1,49 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Michael Bretterklieber <michael@bretterklieber.com> | -// +----------------------------------------------------------------------+ -// -// $Id: RADIUS.php,v 1.9 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against RADIUS servers + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Michael Bretterklieber <michael@bretterklieber.com> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: RADIUS.php,v 1.10 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.0 + */ + +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; +/** + * Include PEAR Auth_RADIUS package + */ require_once "Auth/RADIUS.php"; /** * Storage driver for authenticating users against RADIUS servers. * - * @author Michael Bretterklieber <michael@bretterklieber.com> - * @author Adam Ashley <aashley@php.net> - * @access public - * @version $Revision: 1.9 $ + * @category Authentication + * @package Auth + * @author Michael Bretterklieber <michael@bretterklieber.com> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.10 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.0 */ class Auth_Container_RADIUS extends Auth_Container { @@ -48,7 +63,6 @@ var $authtype; // }}} - // {{{ Auth_Container_RADIUS() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/SMBPasswd.php?r1=1.3&r2=1.4&diff_format=u Index: pear/Auth/Container/SMBPasswd.php diff -u pear/Auth/Container/SMBPasswd.php:1.3 pear/Auth/Container/SMBPasswd.php:1.4 --- pear/Auth/Container/SMBPasswd.php:1.3 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/SMBPasswd.php Thu Mar 2 04:42:06 2006 @@ -1,26 +1,39 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Michael Bretterklieber <michael@bretterklieber.com> | -// +----------------------------------------------------------------------+ -// -// $Id: SMBPasswd.php,v 1.3 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against Samba password files + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Michael Bretterklieber <michael@bretterklieber.com> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: SMBPasswd.php,v 1.4 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.3 + */ + +/** + * Include PEAR File_SMBPasswd + */ require_once "File/SMBPasswd.php"; +/** + * Include Auth_Container Base file + */ require_once "Auth/Container.php"; +/** + * Include PEAR class for error handling + */ require_once "PEAR.php"; /** @@ -36,10 +49,16 @@ * $a->logout(); * } * - * @author Michael Bretterklieber <michael@bretterklieber.com> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.3 $ + * @category Authentication + * @package Auth + * @author Michael Bretterklieber <michael@bretterklieber.com> + * @author Adam Ashley <aashley@php.net> + * @package Auth + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.4 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.3 */ class Auth_Container_SMBPasswd extends Auth_Container { http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/SOAP.php?r1=1.8&r2=1.9&diff_format=u Index: pear/Auth/Container/SOAP.php diff -u pear/Auth/Container/SOAP.php:1.8 pear/Auth/Container/SOAP.php:1.9 --- pear/Auth/Container/SOAP.php:1.8 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/SOAP.php Thu Mar 2 04:42:06 2006 @@ -1,26 +1,39 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Bruno Pedro <bpedro@co.sapo.pt> | -// +----------------------------------------------------------------------+ -// -// $Id: SOAP.php,v 1.8 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against a SOAP service + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Bruno Pedro <bpedro@co.sapo.pt> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: SOAP.php,v 1.9 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.0 + */ + +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; +/** + * Include PEAR package for error handling + */ require_once "PEAR.php"; +/** + * Include PEAR SOAP_Client + */ require_once 'SOAP/Client.php'; /** @@ -64,10 +77,15 @@ * * ?> * - * @author Bruno Pedro <bpedro@co.sapo.pt> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.8 $ + * @category Authentication + * @package Auth + * @author Bruno Pedro <bpedro@co.sapo.pt> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.9 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.0 */ class Auth_Container_SOAP extends Auth_Container { @@ -117,7 +135,6 @@ var $soapClient = null; // }}} - // {{{ Auth_Container_SOAP() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/vpopmail.php?r1=1.5&r2=1.6&diff_format=u Index: pear/Auth/Container/vpopmail.php diff -u pear/Auth/Container/vpopmail.php:1.5 pear/Auth/Container/vpopmail.php:1.6 --- pear/Auth/Container/vpopmail.php:1.5 Wed Mar 1 06:08:56 2006 +++ pear/Auth/Container/vpopmail.php Thu Mar 2 04:42:06 2006 @@ -1,34 +1,49 @@ -<?PHP -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Stanislav Grozev <tacho@orbitel.bg> | -// +----------------------------------------------------------------------+ -// -// $Id: vpopmail.php,v 1.5 2006/03/01 06:08:56 aashley Exp $ -// +<?php +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against vpopmail setups + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Stanislav Grozev <tacho@orbitel.bg> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: vpopmail.php,v 1.6 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.0 + */ + +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; +/** + * Include PEAR package for error handling + */ require_once "PEAR.php"; /** * Storage driver for fetching login data from vpopmail * - * @author Stanislav Grozev <tacho@orbitel.bg> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.5 $ + * @category Authentication + * @package Auth + * @author Stanislav Grozev <tacho@orbitel.bg> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.6 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.0 */ class Auth_Container_vpopmail extends Auth_Container { http://cvs.php.net/viewcvs.cgi/pear/Auth/Frontend/Html.php?r1=1.7&r2=1.8&diff_format=u Index: pear/Auth/Frontend/Html.php diff -u pear/Auth/Frontend/Html.php:1.7 pear/Auth/Frontend/Html.php:1.8 --- pear/Auth/Frontend/Html.php:1.7 Tue Feb 28 05:11:39 2006 +++ pear/Auth/Frontend/Html.php Thu Mar 2 04:42:07 2006 @@ -1,32 +1,40 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Html.php,v 1.7 2006/02/28 05:11:39 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Standard Html Login form + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Html.php,v 1.8 2006/03/02 04:42:07 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 + */ /** * Standard Html Login form * - * @author Yavor Shahpasov <yavo@netsmart.com.cy> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.7 $ + * @category Authentication + * @package Auth + * @author Yavor Shahpasov <yavo@netsmart.com.cy> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.8 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Frontend_Html {
http://cvs.php.net/viewcvs.cgi/pear/Auth/Auth.php?r1=1.99&r2=1.100&diff_format=u Index: pear/Auth/Auth.php diff -u pear/Auth/Auth.php:1.99 pear/Auth/Auth.php:1.100 --- pear/Auth/Auth.php:1.99 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Auth.php Thu Mar 2 04:42:06 2006 @@ -1,28 +1,46 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Auth.php,v 1.99 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * The main include file for Auth package + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Auth.php,v 1.100 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + */ + +/** + * Returned if session exceeds idle time + */ define('AUTH_IDLED', -1); +/** + * Returned if session has expired + */ define('AUTH_EXPIRED', -2); +/** + * Returned if container is unable to authenticate user/password pair + */ define('AUTH_WRONG_LOGIN', -3); +/** + * Returned if a container method is not supported. + */ define('AUTH_METHOD_NOT_SUPPORTED', -4); +/** + * Returned if new Advanced security system detects a breach + */ define('AUTH_SECURITY_BREACH', -5); /** @@ -31,10 +49,14 @@ * The PEAR::Auth class provides methods for creating an * authentication system using PHP. * - * @author Martin Jansen <mj@php.net> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.99 $ + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.100 $ + * @link http://pear.php.net/package/Auth */ class Auth { @@ -229,7 +251,6 @@ var $authChecks = 0; // }}} - // {{{ Auth() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container.php?r1=1.21&r2=1.22&diff_format=u Index: pear/Auth/Container.php diff -u pear/Auth/Container.php:1.21 pear/Auth/Container.php:1.22 --- pear/Auth/Container.php:1.21 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container.php Thu Mar 2 04:42:06 2006 @@ -1,30 +1,38 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Container.php,v 1.21 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ + +/** + * Auth_Container Base Class + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Container.php,v 1.22 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + */ /** * Storage class for fetching login data * - * @author Martin Jansen <mj@php.net> - * @author Adam Ashley <aashley@php.net> - * @package Auth + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.22 $ + * @link http://pear.php.net/package/Auth */ class Auth_Container { @@ -39,7 +47,6 @@ var $activeUser = ""; // }}} - // {{{ Auth_Container() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/package.xml?r1=1.77&r2=1.78&diff_format=u Index: pear/Auth/package.xml diff -u pear/Auth/package.xml:1.77 pear/Auth/package.xml:1.78 --- pear/Auth/package.xml:1.77 Wed Mar 1 06:26:10 2006 +++ pear/Auth/package.xml Thu Mar 2 04:42:06 2006 @@ -19,6 +19,7 @@ * RADIUS * SAMBA password files * SOAP +* PEAR website </description> <maintainers> <maintainer> @@ -47,96 +48,165 @@ </maintainer> </maintainers> <release> - <version>1.3.0RC7</version> - <date>2006-03-01</date> + <version>1.3.0</version> + <date>2006-03-02</date> <license>PHP License</license> - <state>beta</state> + <state>stable</state> <notes> <![CDATA[ -This release is primarily a coding standard clean-up before the 1.3.0 final -release. +This is the final stable release of Auth 1.3.0. This version contains many new +features over previous versions. Summary of changes: -In addition the following improvements to the LDAP Container where supplied -by Hugues Peeters <hugues.peeters@claroline.net>. - * Changed default attrformat to AUTH so that loaded attributes are - presented in the same format as other backends provide. - * Added compatibility support to 1.2 style configuration options - * Attributes option now accepts a comma seperated string as well as - as array the same as db_fields in the DB, MDB and MDB2 backends. - -Finally there are additional checks that the relevant PHP module is loaded -when loading the IMAP and VPOPMail Containers. + * New MDB2 container [30/March/2004 - quipo] + * New PEAR container, authenticate against pear.php.net [16/Dec/2003 - yavo] + * New Advanced Security mode to catch man-in-the-middle attacks. + * Added options for changing the post variables, patch supplied by Moritz + Heidkamp <moritz.heidkamp@invision-team.de> + * New DBLite container, same as DB but with the user manipulation functions + removed (50% smaller). + * Split login form to Auth_Frontend_HTML with goal to make it easily + customisable. + +Numerous other small fixes and improvements to all storage containers thanks +to the following people: Matt Eaton, Jeroen Houben, Cipriano Groenendal, +Markku Turunen, Matthew Van Gundy, marc at practeo dot ch and I'm sure many +others that have contributed over the years it's taken to get this release +out. ]]> </notes> <filelist> <file role="php" baseinstalldir="" name="Auth.php"> - <replace from="@version@" to="version" type="package-info"/> + <replace from="@package_version@" to="version" type="package-info"/> </file> - <!-- Added for compatibility with the previous Auth --> + <dir name="Auth" role="php" baseinstalldir=""> - <file name="Auth.php" /> - <file name="Controller.php" /> + <file name="Anonymous.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <!-- Added for compatibility with the previous Auth --> + <file name="Auth.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="Controller.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> </dir> - <file role="php" baseinstalldir="Auth" name="Container.php"/> + + <file role="php" baseinstalldir="Auth" name="Container.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> <file role="doc" baseinstalldir="Auth" name="README.Auth"/> + <dir name="Container" role="php" baseinstalldir="Auth"> - <file name="DB.php"/> - <file name="DBLite.php"/> - <file name="File.php"/> - <file name="IMAP.php"/> - <file name="POP3.php"/> - <file name="LDAP.php"/> - <file name="MDB.php"/> - <file name="MDB2.php"/> - <file name="RADIUS.php"/> - <file name="SMBPasswd.php"/> - <file name="SOAP.php"/> - <file name="vpopmail.php"/> - <file name="PEAR.php"/> + <file name="DB.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="DBLite.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="File.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="IMAP.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="POP3.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="LDAP.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="MDB.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="MDB2.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="RADIUS.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="SMBPasswd.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="SOAP.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="vpopmail.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="PEAR.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> </dir> <dir name="Frontend" role="php" baseinstalldir="Auth"> - <file name="Html.php"/> + <file name="Html.php"> + <replace from="@package_version@" to="version" type="package-info"/> + </file> <file name="md5.js"/> </dir> <!-- The Test suite --> <dir name="tests" role="test" baseinstalldir="Auth"> - <file name="auth_container_db_options.php"/> - <file name="DBContainer.php"/> - <file name="auth_container_file_options.php"/> - <file name="FileContainer.php"/> - <file name="auth_container_pop3_options.php"/> - <file name="auth_container_mdb_options.php"/> - <file name="MDBContainer.php"/> - <file name="auth_container_mdb2_options.php"/> - <file name="MDB2Container.php"/> - <file name="POP3Container.php"/> - <file name="auth_container_pop3a_options.php"/> - <file name="POP3aContainer.php"/> - <file name="TestAuthContainer.php"/> - <file name="users"/> - <file name="tests.php"/> - <file name="mysql_test_db.sql"/> + <file name="auth_container_db_options.php"/> + <file name="DBContainer.php"/> + <file name="auth_container_file_options.php"/> + <file name="FileContainer.php"/> + <file name="auth_container_pop3_options.php"/> + <file name="auth_container_mdb_options.php"/> + <file name="MDBContainer.php"/> + <file name="auth_container_mdb2_options.php"/> + <file name="MDB2Container.php"/> + <file name="POP3Container.php"/> + <file name="auth_container_pop3a_options.php"/> + <file name="POP3aContainer.php"/> + <file name="TestAuthContainer.php"/> + <file name="users"/> + <file name="tests.php"/> + <file name="mysql_test_db.sql"/> </dir> </filelist> <deps> - <dep type="pkg" rel="ge" version="0.9.5" optional="yes">File_Passwd</dep> - <dep type="pkg" rel="ge" version="1.3" optional="yes">Net_POP3</dep> - <dep type="pkg" rel="ge" version="1.6.0" optional="yes">DB</dep> - <dep type="pkg" rel="has" optional="yes">MDB</dep> - <dep type="pkg" rel="ge" version="2.0.0RC1" optional="yes">MDB2</dep> - <dep type="pkg" rel="has" optional="yes">Auth_RADIUS</dep> - <dep type="pkg" rel="ge" version="1.0.0" optional="yes">Crypt_CHAP</dep> - <dep type="pkg" rel="has" optional="yes">File_SMBPasswd</dep> - <dep type="ext" rel="has" optional="yes">imap</dep> - <dep type="ext" rel="has" optional="yes">vpopmail</dep> + <dep type="pkg" rel="ge" version="0.9.5" optional="yes">File_Passwd</dep> + <dep type="pkg" rel="ge" version="1.3" optional="yes">Net_POP3</dep> + <dep type="pkg" rel="ge" version="1.6.0" optional="yes">DB</dep> + <dep type="pkg" rel="has" optional="yes">MDB</dep> + <dep type="pkg" rel="ge" version="2.0.0RC1" optional="yes">MDB2</dep> + <dep type="pkg" rel="has" optional="yes">Auth_RADIUS</dep> + <dep type="pkg" rel="ge" version="1.0.0" optional="yes">Crypt_CHAP</dep> + <dep type="pkg" rel="has" optional="yes">File_SMBPasswd</dep> + <dep type="ext" rel="has" optional="yes">imap</dep> + <dep type="ext" rel="has" optional="yes">vpopmail</dep> </deps> </release> <changelog> + <release> + <version>1.3.0RC7</version> + <date>2006-03-01</date> + <license>PHP License</license> + <state>beta</state> + <notes> +<![CDATA[ +This release is primarily a coding standard clean-up before the 1.3.0 final +release. + +In addition the following improvements to the LDAP Container where supplied +by Hugues Peeters <hugues.peeters@claroline.net>. + * Changed default attrformat to AUTH so that loaded attributes are + presented in the same format as other backends provide. + * Added compatibility support to 1.2 style configuration options + * Attributes option now accepts a comma seperated string as well as + as array the same as db_fields in the DB, MDB and MDB2 backends. + +Finally there are additional checks that the relevant PHP module is loaded +when loading the IMAP and VPOPMail Containers. +]]> + </notes> + </release> + <release> <version>1.3.0RC6</version> <date>2006-02-22</date> http://cvs.php.net/viewcvs.cgi/pear/Auth/Auth/Anonymous.php?r1=1.3&r2=1.4&diff_format=u Index: pear/Auth/Auth/Anonymous.php diff -u pear/Auth/Auth/Anonymous.php:1.3 pear/Auth/Auth/Anonymous.php:1.4 --- pear/Auth/Auth/Anonymous.php:1.3 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Auth/Anonymous.php Thu Mar 2 04:42:06 2006 @@ -1,36 +1,48 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Anonymous.php,v 1.3 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Anonymous authentication support + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Yavor Shahpasov <yavo@netsmart.com.cy> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Anonymous.php,v 1.4 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 + */ + +/** + * Include Auth package + */ require_once 'Auth.php'; /** - * Anonymouse Authentication + * Anonymous Authentication * - * This class provides anonymous authentication - * if username and password were not supplied + * This class provides anonymous authentication if username and password + * were not supplied * - * @author Yavor Shahpasov <yavo@netsmart.com.cy> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.3 $ + * @category Authentication + * @package Auth + * @author Yavor Shahpasov <yavo@netsmart.com.cy> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.4 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Anonymous extends Auth { @@ -52,7 +64,6 @@ var $anonymous_username = 'anonymous'; // }}} - // {{{ Auth_Anonymous() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Auth/Auth.php?r1=1.2&r2=1.3&diff_format=u Index: pear/Auth/Auth/Auth.php diff -u pear/Auth/Auth/Auth.php:1.2 pear/Auth/Auth/Auth.php:1.3 --- pear/Auth/Auth/Auth.php:1.2 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Auth/Auth.php Thu Mar 2 04:42:06 2006 @@ -1,28 +1,29 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Auth.php,v 1.2 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ /** - * Compatibility File - * * Provide compatibility with previous Auth include location. + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Auth.php,v 1.3 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @deprecated File deprecated since Release 1.2.0 + */ + +/** + * Include Auth package */ require_once 'Auth.php'; http://cvs.php.net/viewcvs.cgi/pear/Auth/Auth/Controller.php?r1=1.8&r2=1.9&diff_format=u Index: pear/Auth/Auth/Controller.php diff -u pear/Auth/Auth/Controller.php:1.8 pear/Auth/Auth/Controller.php:1.9 --- pear/Auth/Auth/Controller.php:1.8 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Auth/Controller.php Thu Mar 2 04:42:06 2006 @@ -1,23 +1,27 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Controller.php,v 1.8 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ + +/** + * Auth Controller + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Yavor Shahpasov <yavo@netsmart.com.cy> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Controller.php,v 1.9 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 + */ /** * Controlls access to a group of php access @@ -45,10 +49,14 @@ * } * </code> * - * @author Yavor Shahpasov <yavo@netsmart.com.cy> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.8 $ + * @category Authentication + * @author Yavor Shahpasov <yavo@netsmart.com.cy> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.9 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Controller { @@ -84,7 +92,6 @@ var $autoRedirectBack = false; // }}} - // {{{ Auth_Controller() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/DB.php?r1=1.58&r2=1.59&diff_format=u Index: pear/Auth/Container/DB.php diff -u pear/Auth/Container/DB.php:1.58 pear/Auth/Container/DB.php:1.59 --- pear/Auth/Container/DB.php:1.58 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/DB.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,34 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: DB.php,v 1.58 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against PEAR DB + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: DB.php,v 1.59 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + */ + +/** + * Include Auth_Container base class + */ require_once 'Auth/Container.php'; +/** + * Include PEAR DB + */ require_once 'DB.php'; /** @@ -28,10 +37,14 @@ * This storage driver can use all databases which are supported * by the PEAR DB abstraction layer to fetch login data. * - * @author Martin Jansen <mj@php.net> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.58 $ + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.59 $ + * @link http://pear.php.net/package/Auth */ class Auth_Container_DB extends Auth_Container { @@ -58,7 +71,6 @@ var $activeUser = ''; // }}} - // {{{ Auth_Container_DB [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/DBLite.php?r1=1.5&r2=1.6&diff_format=u Index: pear/Auth/Container/DBLite.php diff -u pear/Auth/Container/DBLite.php:1.5 pear/Auth/Container/DBLite.php:1.6 --- pear/Auth/Container/DBLite.php:1.5 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/DBLite.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,35 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: DBLite.php,v 1.5 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Reduced storage driver for use against PEAR DB + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: DBLite.php,v 1.6 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 + */ + +/** + * Include Auth_Container base class + */ require_once 'Auth/Container.php'; +/** + * Include PEAR DB package + */ require_once 'DB.php'; /** @@ -29,10 +39,15 @@ * with the user manipulation function removed for smaller file size * by the PEAR DB abstraction layer to fetch login data. * - * @author Martin Jansen <mj@php.net> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.5 $ + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.6 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Container_DBLite extends Auth_Container { @@ -59,7 +74,6 @@ var $activeUser = ''; // }}} - // {{{ Auth_Container_DBLite() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/File.php?r1=1.18&r2=1.19&diff_format=u Index: pear/Auth/Container/File.php diff -u pear/Auth/Container/File.php:1.18 pear/Auth/Container/File.php:1.19 --- pear/Auth/Container/File.php:1.18 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/File.php Thu Mar 2 04:42:06 2006 @@ -1,28 +1,41 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Stefan Ekman <stekman@sedata.org> | -// | Martin Jansen <mj@php.net> | -// | Mika Tuupola <tuupola@appelsiini.net> | -// +----------------------------------------------------------------------+ -// -// $Id: File.php,v 1.18 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against a generic password file + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Stefan Ekman <stekman@sedata.org> + * @author Martin Jansen <mj@php.net> + * @author Mika Tuupola <tuupola@appelsiini.net> + * @author Michael Wallner <mike@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: File.php,v 1.19 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + */ + +/** + * Include PEAR File_Passwd package + */ require_once "File/Passwd.php"; +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; +/** + * Include PEAR package for error handling + */ require_once "PEAR.php"; /** @@ -30,10 +43,17 @@ * * This storage container can handle CVS pserver style passwd files. * - * @author Stefan Ekman <stekman@sedata.org> - * @author Michael Wallner <mike@php.net> - * @package Auth - * @version $Revision: 1.18 $ + * @category Authentication + * @package Auth + * @author Stefan Ekman <stekman@sedata.org> + * @author Martin Jansen <mj@php.net> + * @author Mika Tuupola <tuupola@appelsiini.net> + * @author Michael Wallner <mike@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.19 $ + * @link http://pear.php.net/package/Auth */ class Auth_Container_File extends Auth_Container { @@ -48,7 +68,6 @@ var $pwfile = ''; // }}} - // {{{ Auth_Container_File() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/IMAP.php?r1=1.12&r2=1.13&diff_format=u Index: pear/Auth/Container/IMAP.php diff -u pear/Auth/Container/IMAP.php:1.12 pear/Auth/Container/IMAP.php:1.13 --- pear/Auth/Container/IMAP.php:1.12 Wed Mar 1 06:08:30 2006 +++ pear/Auth/Container/IMAP.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,36 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Jeroen Houben <jeroen@terena.nl> | -// +----------------------------------------------------------------------+ -// -// $Id: IMAP.php,v 1.12 2006/03/01 06:08:30 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against IMAP servers + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Jeroen Houben <jeroen@terena.nl> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: IMAP.php,v 1.13 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.0 + */ + +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; + +/** + * Include PEAR class for error handling + */ require_once "PEAR.php"; /** @@ -43,7 +54,7 @@ * 'port' => 143, * ); * $myAuth = new Auth('IMAP', $params); - * .... + * ... * * By default we connect without any protocol options set. However, some * servers require you to connect with the notls or norsh options set. @@ -59,18 +70,16 @@ * Further options may be available and can be found on the php site at * http://www.php.net/manual/function.imap-open.php * - */ - -/** - * Storage driver for fetching login data from a IMAP server - * - * This storage driver authenticates uses against IMAP server. - * - * @author Jeroen Houben <jeroen@terena.nl> - * @author Cipriano Groenendal <cipri@campai.nl> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.12 $ + * @category Authentication + * @package Auth + * @author Jeroen Houben <jeroen@terena.nl> + * @author Cipriano Groenendal <cipri@campai.nl> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.13 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.0 */ class Auth_Container_IMAP extends Auth_Container { @@ -84,7 +93,6 @@ var $options = array(); // }}} - // {{{ Auth_Container_IMAP() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/LDAP.php?r1=1.28&r2=1.29&diff_format=u Index: pear/Auth/Container/LDAP.php diff -u pear/Auth/Container/LDAP.php:1.28 pear/Auth/Container/LDAP.php:1.29 --- pear/Auth/Container/LDAP.php:1.28 Wed Mar 1 13:53:44 2006 +++ pear/Auth/Container/LDAP.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,35 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2005 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Jan Wagner <wagner@netsols.de> | -// +----------------------------------------------------------------------+ -// -// $Id: LDAP.php,v 1.28 2006/03/01 13:53:44 jw Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against an LDAP server + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Jan Wagner <wagner@netsols.de> + * @author Adam Ashley <aashley@php.net> + * @author Hugues Peeters <hugues.peeters@claroline.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: LDAP.php,v 1.29 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + */ + +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; +/** + * Include PEAR package for error handling + */ require_once "PEAR.php"; /** @@ -167,10 +177,15 @@ * Example a3 shows a full blown and tested example for connection to * Windows 2000 Active Directory with group mebership checking * - * @author Jan Wagner <wagner@netsols.de> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.28 $ + * @category Authentication + * @package Auth + * @author Jan Wagner <wagner@netsols.de> + * @author Adam Ashley <aashley@php.net> + * @author Hugues Peeters <hugues.peeters@claroline.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.29 $ + * @link http://pear.php.net/package/Auth */ class Auth_Container_LDAP extends Auth_Container { http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/MDB.php?r1=1.22&r2=1.23&diff_format=u Index: pear/Auth/Container/MDB.php diff -u pear/Auth/Container/MDB.php:1.22 pear/Auth/Container/MDB.php:1.23 --- pear/Auth/Container/MDB.php:1.22 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/MDB.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,35 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Lorenzo Alberton <l.alberton@quipo.it> | -// +----------------------------------------------------------------------+ -// -// $Id: MDB.php,v 1.22 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against PEAR MDB + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Lorenzo Alberton <l.alberton@quipo.it> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: MDB.php,v 1.23 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.3 + */ + +/** + * Include Auth_Container base class + */ require_once 'Auth/Container.php'; +/** + * Include PEAR MDB package + */ require_once 'MDB.php'; /** @@ -28,10 +38,15 @@ * This storage driver can use all databases which are supported * by the PEAR MDB abstraction layer to fetch login data. * - * @author Lorenzo Alberton <l.alberton@quipo.it> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.22 $ + * @category Authentication + * @package Auth + * @author Lorenzo Alberton <l.alberton@quipo.it> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.23 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.3 */ class Auth_Container_MDB extends Auth_Container { @@ -58,7 +73,6 @@ var $activeUser = ''; // }}} - // {{{ Auth_Container_MDB() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/MDB2.php?r1=1.8&r2=1.9&diff_format=u Index: pear/Auth/Container/MDB2.php diff -u pear/Auth/Container/MDB2.php:1.8 pear/Auth/Container/MDB2.php:1.9 --- pear/Auth/Container/MDB2.php:1.8 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/MDB2.php Thu Mar 2 04:42:06 2006 @@ -1,25 +1,35 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Lorenzo Alberton <l.alberton@quipo.it> | -// +----------------------------------------------------------------------+ -// -// $Id: MDB2.php,v 1.8 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against PEAR MDB2 + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Lorenzo Alberton <l.alberton@quipo.it> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: MDB2.php,v 1.9 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 + */ + +/** + * Include Auth_Container base class + */ require_once 'Auth/Container.php'; +/** + * Include PEAR MDB2 package + */ require_once 'MDB2.php'; /** @@ -28,10 +38,15 @@ * This storage driver can use all databases which are supported * by the PEAR MDB2 abstraction layer to fetch login data. * - * @author Lorenzo Alberton <l.alberton@quipo.it> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.8 $ + * @category Authentication + * @package Auth + * @author Lorenzo Alberton <l.alberton@quipo.it> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.9 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Container_MDB2 extends Auth_Container { @@ -58,7 +73,6 @@ var $activeUser = ''; // }}} - // {{{ Auth_Container_MDB2() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/PEAR.php?r1=1.5&r2=1.6&diff_format=u Index: pear/Auth/Container/PEAR.php diff -u pear/Auth/Container/PEAR.php:1.5 pear/Auth/Container/PEAR.php:1.6 --- pear/Auth/Container/PEAR.php:1.5 Thu Mar 2 02:53:03 2006 +++ pear/Auth/Container/PEAR.php Thu Mar 2 04:42:06 2006 @@ -2,7 +2,7 @@ /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ /** - * Auth_Container Base Class + * Storage driver for use against PEAR website * * PHP versions 4 and 5 * @@ -18,8 +18,9 @@ * @author Adam Ashley <aashley@php.net> * @copyright 2001-2005 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License 3.01 - * @version CVS: $Id: PEAR.php,v 1.5 2006/03/02 02:53:03 aashley Exp $ + * @version CVS: $Id: PEAR.php,v 1.6 2006/03/02 04:42:06 aashley Exp $ * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 */ /** @@ -43,8 +44,9 @@ * @author Adam Ashley <aashley@php.net> * @copyright 2001-2005 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License 3.01 - * @version Release: @package_version@ + * @version Release: @package_version@ File: $Revision: 1.6 $ * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Container_Pear extends Auth_Container { http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/POP3.php?r1=1.6&r2=1.7&diff_format=u Index: pear/Auth/Container/POP3.php diff -u pear/Auth/Container/POP3.php:1.6 pear/Auth/Container/POP3.php:1.7 --- pear/Auth/Container/POP3.php:1.6 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/POP3.php Thu Mar 2 04:42:06 2006 @@ -1,36 +1,56 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Stefan Ekman <stekman@sedata.org> | -// | Martin Jansen <mj@php.net> | -// | Mika Tuupola <tuupola@appelsiini.net> | -// +----------------------------------------------------------------------+ -// -// $Id: POP3.php,v 1.6 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against a POP3 server + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Stefan Ekman <stekman@sedata.org> + * @author Martin Jansen <mj@php.net> + * @author Mika Tuupola <tuupola@appelsiini.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: POP3.php,v 1.7 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.0 + */ + +/** + * Include Auth_Container base class + */ require_once 'Auth/Container.php'; +/** + * Include PEAR package for error handling + */ require_once 'PEAR.php'; +/** + * Include PEAR Net_POP3 package + */ require_once 'Net/POP3.php'; /** * Storage driver for Authentication on a POP3 server. * - * @author Yavor Shahpasov <yavo@netsmart.com.cy> - * @package Auth - * @version $Revision: 1.6 $ + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Mika Tuupola <tuupola@appelsiini.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.7 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.0 */ class Auth_Container_POP3 extends Auth_Container { @@ -62,7 +82,6 @@ var $method=true; // }}} - // {{{ Auth_Container_POP3() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/RADIUS.php?r1=1.9&r2=1.10&diff_format=u Index: pear/Auth/Container/RADIUS.php diff -u pear/Auth/Container/RADIUS.php:1.9 pear/Auth/Container/RADIUS.php:1.10 --- pear/Auth/Container/RADIUS.php:1.9 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/RADIUS.php Thu Mar 2 04:42:06 2006 @@ -1,34 +1,49 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Michael Bretterklieber <michael@bretterklieber.com> | -// +----------------------------------------------------------------------+ -// -// $Id: RADIUS.php,v 1.9 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against RADIUS servers + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Michael Bretterklieber <michael@bretterklieber.com> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: RADIUS.php,v 1.10 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.0 + */ + +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; +/** + * Include PEAR Auth_RADIUS package + */ require_once "Auth/RADIUS.php"; /** * Storage driver for authenticating users against RADIUS servers. * - * @author Michael Bretterklieber <michael@bretterklieber.com> - * @author Adam Ashley <aashley@php.net> - * @access public - * @version $Revision: 1.9 $ + * @category Authentication + * @package Auth + * @author Michael Bretterklieber <michael@bretterklieber.com> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.10 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.0 */ class Auth_Container_RADIUS extends Auth_Container { @@ -48,7 +63,6 @@ var $authtype; // }}} - // {{{ Auth_Container_RADIUS() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/SMBPasswd.php?r1=1.3&r2=1.4&diff_format=u Index: pear/Auth/Container/SMBPasswd.php diff -u pear/Auth/Container/SMBPasswd.php:1.3 pear/Auth/Container/SMBPasswd.php:1.4 --- pear/Auth/Container/SMBPasswd.php:1.3 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/SMBPasswd.php Thu Mar 2 04:42:06 2006 @@ -1,26 +1,39 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Michael Bretterklieber <michael@bretterklieber.com> | -// +----------------------------------------------------------------------+ -// -// $Id: SMBPasswd.php,v 1.3 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against Samba password files + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Michael Bretterklieber <michael@bretterklieber.com> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: SMBPasswd.php,v 1.4 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.3 + */ + +/** + * Include PEAR File_SMBPasswd + */ require_once "File/SMBPasswd.php"; +/** + * Include Auth_Container Base file + */ require_once "Auth/Container.php"; +/** + * Include PEAR class for error handling + */ require_once "PEAR.php"; /** @@ -36,10 +49,16 @@ * $a->logout(); * } * - * @author Michael Bretterklieber <michael@bretterklieber.com> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.3 $ + * @category Authentication + * @package Auth + * @author Michael Bretterklieber <michael@bretterklieber.com> + * @author Adam Ashley <aashley@php.net> + * @package Auth + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.4 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.3 */ class Auth_Container_SMBPasswd extends Auth_Container { http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/SOAP.php?r1=1.8&r2=1.9&diff_format=u Index: pear/Auth/Container/SOAP.php diff -u pear/Auth/Container/SOAP.php:1.8 pear/Auth/Container/SOAP.php:1.9 --- pear/Auth/Container/SOAP.php:1.8 Tue Feb 28 02:19:22 2006 +++ pear/Auth/Container/SOAP.php Thu Mar 2 04:42:06 2006 @@ -1,26 +1,39 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Bruno Pedro <bpedro@co.sapo.pt> | -// +----------------------------------------------------------------------+ -// -// $Id: SOAP.php,v 1.8 2006/02/28 02:19:22 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against a SOAP service + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Bruno Pedro <bpedro@co.sapo.pt> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: SOAP.php,v 1.9 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.0 + */ + +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; +/** + * Include PEAR package for error handling + */ require_once "PEAR.php"; +/** + * Include PEAR SOAP_Client + */ require_once 'SOAP/Client.php'; /** @@ -64,10 +77,15 @@ * * ?> * - * @author Bruno Pedro <bpedro@co.sapo.pt> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.8 $ + * @category Authentication + * @package Auth + * @author Bruno Pedro <bpedro@co.sapo.pt> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.9 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.0 */ class Auth_Container_SOAP extends Auth_Container { @@ -117,7 +135,6 @@ var $soapClient = null; // }}} - // {{{ Auth_Container_SOAP() [constructor] /** http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/vpopmail.php?r1=1.5&r2=1.6&diff_format=u Index: pear/Auth/Container/vpopmail.php diff -u pear/Auth/Container/vpopmail.php:1.5 pear/Auth/Container/vpopmail.php:1.6 --- pear/Auth/Container/vpopmail.php:1.5 Wed Mar 1 06:08:56 2006 +++ pear/Auth/Container/vpopmail.php Thu Mar 2 04:42:06 2006 @@ -1,34 +1,49 @@ -<?PHP -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Stanislav Grozev <tacho@orbitel.bg> | -// +----------------------------------------------------------------------+ -// -// $Id: vpopmail.php,v 1.5 2006/03/01 06:08:56 aashley Exp $ -// +<?php +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Storage driver for use against vpopmail setups + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Stanislav Grozev <tacho@orbitel.bg> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: vpopmail.php,v 1.6 2006/03/02 04:42:06 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.2.0 + */ + +/** + * Include Auth_Container base class + */ require_once "Auth/Container.php"; +/** + * Include PEAR package for error handling + */ require_once "PEAR.php"; /** * Storage driver for fetching login data from vpopmail * - * @author Stanislav Grozev <tacho@orbitel.bg> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.5 $ + * @category Authentication + * @package Auth + * @author Stanislav Grozev <tacho@orbitel.bg> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.6 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.2.0 */ class Auth_Container_vpopmail extends Auth_Container { http://cvs.php.net/viewcvs.cgi/pear/Auth/Frontend/Html.php?r1=1.7&r2=1.8&diff_format=u Index: pear/Auth/Frontend/Html.php diff -u pear/Auth/Frontend/Html.php:1.7 pear/Auth/Frontend/Html.php:1.8 --- pear/Auth/Frontend/Html.php:1.7 Tue Feb 28 05:11:39 2006 +++ pear/Auth/Frontend/Html.php Thu Mar 2 04:42:07 2006 @@ -1,32 +1,40 @@ <?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2003 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Martin Jansen <mj@php.net> | -// +----------------------------------------------------------------------+ -// -// $Id: Html.php,v 1.7 2006/02/28 05:11:39 aashley Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ +/** + * Standard Html Login form + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Authentication + * @package Auth + * @author Martin Jansen <mj@php.net> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: Html.php,v 1.8 2006/03/02 04:42:07 aashley Exp $ + * @link http://pear.php.net/package/Auth + * @since File available since Release 1.3.0 + */ /** * Standard Html Login form * - * @author Yavor Shahpasov <yavo@netsmart.com.cy> - * @author Adam Ashley <aashley@php.net> - * @package Auth - * @version $Revision: 1.7 $ + * @category Authentication + * @package Auth + * @author Yavor Shahpasov <yavo@netsmart.com.cy> + * @author Adam Ashley <aashley@php.net> + * @copyright 2001-2005 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version Release: @package_version@ File: $Revision: 1.8 $ + * @link http://pear.php.net/package/Auth + * @since Class available since Release 1.3.0 */ class Auth_Frontend_Html {