cvs: pear /LiveUser LiveUser.php /LiveUser/Auth Common.php DB.php MDB.php MDB2.php PEARAuth.php Session.php XML.php /LiveUser/Perm Complex.php
Medium.php Simple.php Storage.php /LiveUser/Perm/Storage Cache.php DB.php Globals.php MDB.php MDB2.php SQL.php XML.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sun, 20 Feb 2005 19:13:37 +0000 |
| Subject: | cvs: pear /LiveUser LiveUser.php /LiveUser/Auth Common.php DB.php MDB.php MDB2.php PEARAuth.php Session.php XML.php /LiveUser/Perm Complex.php Medium.php Simple.php Storage.php /LiveUser/Perm/Storage Cache.php DB.php Globals.php MDB.php MDB2.php SQL.php XML.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29549@lists.php.net to get a copy of this message | ||
dufuz Sun Feb 20 14:13:37 2005 EDT
Modified files:
/pear/LiveUser/Auth Common.php DB.php MDB2.php MDB.php PEARAuth.php
Session.php XML.php
/pear/LiveUser/Perm/Storage Cache.php DB.php Globals.php MDB2.php
MDB.php SQL.php XML.php
/pear/LiveUser/Perm Complex.php Medium.php Simple.php Storage.php
/pear/LiveUser LiveUser.php
Log:
comply to our new header policy.
http://cvs.php.net/diff.php/pear/LiveUser/Auth/Common.php?r1=1.15&r2=1.16&ty=u Index: pear/LiveUser/Auth/Common.php diff -u pear/LiveUser/Auth/Common.php:1.15 pear/LiveUser/Auth/Common.php:1.16 --- pear/LiveUser/Auth/Common.php:1.15 Sun Feb 20 08:43:50 2005 +++ pear/LiveUser/Auth/Common.php Sun Feb 20 14:13:36 2005 @@ -1,20 +1,48 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Common.php,v 1.16 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser + */ /** * This class provides a set of functions for implementing a user @@ -27,10 +55,13 @@ * - LiveUser admin GUI for easy user administration and setup of * authorisation areas and rights * - * @author Markus Wolff <wolff@21st.de> - * @version $Id: Common.php,v 1.15 2005/02/20 13:43:50 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Markus Wolff <wolff@21st.de> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/DB.php?r1=1.12&r2=1.13&ty=u Index: pear/LiveUser/Auth/DB.php diff -u pear/LiveUser/Auth/DB.php:1.12 pear/LiveUser/Auth/DB.php:1.13 --- pear/LiveUser/Auth/DB.php:1.12 Sun Feb 20 08:51:01 2005 +++ pear/LiveUser/Auth/DB.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * DB container for Authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: DB.php,v 1.13 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,6 +51,8 @@ require_once 'DB.php'; /** + * DB container for Authentication + * * This is a PEAR::DB backend driver for the LiveUser class. * A PEAR::DB connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -43,10 +66,13 @@ * 'loginTimeout' => 0, * 'allowDuplicateHandles' => 1); * - * @author Markus Wolff <wolff@21st.de> - * @version $Id: DB.php,v 1.12 2005/02/20 13:51:01 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Markus Wolff <wolff@21st.de> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_DB extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/MDB2.php?r1=1.13&r2=1.14&ty=u Index: pear/LiveUser/Auth/MDB2.php diff -u pear/LiveUser/Auth/MDB2.php:1.13 pear/LiveUser/Auth/MDB2.php:1.14 --- pear/LiveUser/Auth/MDB2.php:1.13 Sun Feb 20 08:51:01 2005 +++ pear/LiveUser/Auth/MDB2.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2 container for Authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: MDB2.php,v 1.14 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -31,6 +52,8 @@ MDB2::loadFile('Date'); /** + * MDB2 container for Authentication + * * This is a PEAR::MDB2 backend driver for the LiveUser class. * A PEAR::MDB2 connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -44,10 +67,13 @@ * 'loginTimeout' => 0, * 'allowDuplicateHandles' => 1); * - * @author Markus Wolff <wolff@21st.de> - * @version $Id: MDB2.php,v 1.13 2005/02/20 13:51:01 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Markus Wolff <wolff@21st.de> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_MDB2 extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/MDB.php?r1=1.12&r2=1.13&ty=u Index: pear/LiveUser/Auth/MDB.php diff -u pear/LiveUser/Auth/MDB.php:1.12 pear/LiveUser/Auth/MDB.php:1.13 --- pear/LiveUser/Auth/MDB.php:1.12 Sun Feb 20 08:51:01 2005 +++ pear/LiveUser/Auth/MDB.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB container for Authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: MDB.php,v 1.13 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -31,6 +52,8 @@ MDB::loadFile('Date'); /** + * MDB container for Authentication + * * This is a PEAR::MDB backend driver for the LiveUser class. * A PEAR::MDB connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -44,10 +67,13 @@ * 'loginTimeout' => 0, * 'allowDuplicateHandles' => 1); * - * @author Markus Wolff <wolff@21st.de> - * @version $Id: MDB.php,v 1.12 2005/02/20 13:51:01 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Markus Wolff <wolff@21st.de> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_MDB extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/PEARAuth.php?r1=1.8&r2=1.9&ty=u Index: pear/LiveUser/Auth/PEARAuth.php diff -u pear/LiveUser/Auth/PEARAuth.php:1.8 pear/LiveUser/Auth/PEARAuth.php:1.9 --- pear/LiveUser/Auth/PEARAuth.php:1.8 Sun Feb 20 08:43:50 2005 +++ pear/LiveUser/Auth/PEARAuth.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * PEAR_Auth container for Authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: PEARAuth.php,v 1.9 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,6 +51,8 @@ require_once 'Auth/Auth.php'; /** + * PEAR_Auth container for Authentication + * * ==================== !!! WARNING !!! ======================================== * * THIS CONTAINER IS UNDER HEAVY DEVELOPMENT. IT'S STILL IN EXPERIMENTAL @@ -46,10 +69,13 @@ * - PEAR::Auth must be installed in your PEAR directory * - Array of setup options must be passed to the constructor. * - * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: PEARAuth.php,v 1.8 2005/02/20 13:43:50 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_PEARAuth extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/Session.php?r1=1.5&r2=1.6&ty=u Index: pear/LiveUser/Auth/Session.php diff -u pear/LiveUser/Auth/Session.php:1.5 pear/LiveUser/Auth/Session.php:1.6 --- pear/LiveUser/Auth/Session.php:1.5 Sun Feb 20 08:43:50 2005 +++ pear/LiveUser/Auth/Session.php Sun Feb 20 14:13:36 2005 @@ -1,40 +1,66 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * Session based container for Authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Session.php,v 1.6 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ require_once 'LiveUser/Auth/Common.php'; /** + * Session based container for Authentication + * * This is a backend driver for a simple session based anonymous LiveUser class. * * Requirements: * - File "LiveUser.php" (contains the parent class "LiveUser") * - * @author Lukas Smith <smith@backendmedia.com> - * @version $Id: Session.php,v 1.5 2005/02/20 13:43:50 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Lukas Smith <smith@backendmedia.com> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_Session extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/XML.php?r1=1.12&r2=1.13&ty=u Index: pear/LiveUser/Auth/XML.php diff -u pear/LiveUser/Auth/XML.php:1.12 pear/LiveUser/Auth/XML.php:1.13 --- pear/LiveUser/Auth/XML.php:1.12 Sun Feb 20 08:43:50 2005 +++ pear/LiveUser/Auth/XML.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * XML driver for authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: XML.php,v 1.13 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,12 +51,17 @@ require_once 'XML/Tree.php'; /** + * XML driver for authentication + * * This is a XML backend driver for the LiveUser class. * - * @author Björn Kraus <krausbn@php.net> - * @version $Id: XML.php,v 1.12 2005/02/20 13:43:50 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Björn Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_XML extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/Cache.php?r1=1.4&r2=1.5&ty=u Index: pear/LiveUser/Perm/Storage/Cache.php diff -u pear/LiveUser/Perm/Storage/Cache.php:1.4 pear/LiveUser/Perm/Storage/Cache.php:1.5 --- pear/LiveUser/Perm/Storage/Cache.php:1.4 Sun Feb 20 08:27:41 2005 +++ pear/LiveUser/Perm/Storage/Cache.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * Cache container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Cache.php,v 1.5 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -29,13 +50,18 @@ require_once 'LiveUser/Perm/Storage.php'; /** + * Cache container for permission handling + * * This is a Cache backend driver for the LiveUser class. * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: Cache.php,v 1.4 2005/02/20 13:27:41 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_Cache extends LiveUser_Perm_Storage { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/DB.php?r1=1.8&r2=1.9&ty=u Index: pear/LiveUser/Perm/Storage/DB.php diff -u pear/LiveUser/Perm/Storage/DB.php:1.8 pear/LiveUser/Perm/Storage/DB.php:1.9 --- pear/LiveUser/Perm/Storage/DB.php:1.8 Sun Feb 20 08:27:41 2005 +++ pear/LiveUser/Perm/Storage/DB.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * DB_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: DB.php,v 1.9 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,6 +51,8 @@ require_once 'DB.php'; /** + * DB container for permission handling + * * This is a PEAR::DB backend driver for the LiveUser class. * A PEAR::DB connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -42,11 +65,15 @@ * OR * &$conn (PEAR::DB connection object) * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: DB.php,v 1.8 2005/02/20 13:27:41 lsmith Exp $ - * @package LiveUser - * @category authentication + * @version $Id: DB.php,v 1.9 2005/02/20 19:13:36 dufuz Exp $ + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_DB extends LiveUser_Perm_Storage_SQL { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/Globals.php?r1=1.4&r2=1.5&ty=u Index: pear/LiveUser/Perm/Storage/Globals.php diff -u pear/LiveUser/Perm/Storage/Globals.php:1.4 pear/LiveUser/Perm/Storage/Globals.php:1.5 --- pear/LiveUser/Perm/Storage/Globals.php:1.4 Wed Jan 19 16:31:43 2005 +++ pear/LiveUser/Perm/Storage/Globals.php Sun Feb 20 14:13:36 2005 @@ -1,20 +1,58 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Globals.php,v 1.5 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser + */ + + +/** + * This file holds all our default table/fields name/types/relations, + * if they should be checked and more which are needed by both + * LiveUser and LiveUser_Admin + * + * You can add to those table or modify options via our table/field + * options in the config. + */ $GLOBALS['_LiveUser']['perm']['tables'] = array( 'perm_users' => array( http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/MDB2.php?r1=1.7&r2=1.8&ty=u Index: pear/LiveUser/Perm/Storage/MDB2.php diff -u pear/LiveUser/Perm/Storage/MDB2.php:1.7 pear/LiveUser/Perm/Storage/MDB2.php:1.8 --- pear/LiveUser/Perm/Storage/MDB2.php:1.7 Sun Feb 20 08:27:41 2005 +++ pear/LiveUser/Perm/Storage/MDB2.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: MDB2.php,v 1.8 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,6 +51,8 @@ require_once 'MDB2.php'; /** + * MDB2 container for permission handling + * * This is a PEAR::MDB2 backend driver for the LiveUser class. * A PEAR::MDB2 connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -42,11 +65,14 @@ * OR * &$conn (PEAR::MDB2 connection object) * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: MDB2.php,v 1.7 2005/02/20 13:27:41 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_MDB2 extends LiveUser_Perm_Storage_SQL { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/MDB.php?r1=1.7&r2=1.8&ty=u Index: pear/LiveUser/Perm/Storage/MDB.php diff -u pear/LiveUser/Perm/Storage/MDB.php:1.7 pear/LiveUser/Perm/Storage/MDB.php:1.8 --- pear/LiveUser/Perm/Storage/MDB.php:1.7 Sun Feb 20 08:27:41 2005 +++ pear/LiveUser/Perm/Storage/MDB.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: MDB.php,v 1.8 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,6 +51,8 @@ require_once 'MDB.php'; /** + * MDB container for permission handling + * * This is a PEAR::MDB backend driver for the LiveUser class. * A PEAR::MDB connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -42,11 +65,14 @@ * OR * &$conn (PEAR::MDB connection object) * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: MDB.php,v 1.7 2005/02/20 13:27:41 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_MDB extends LiveUser_Perm_Storage_SQL { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/SQL.php?r1=1.15&r2=1.16&ty=u Index: pear/LiveUser/Perm/Storage/SQL.php diff -u pear/LiveUser/Perm/Storage/SQL.php:1.15 pear/LiveUser/Perm/Storage/SQL.php:1.16 --- pear/LiveUser/Perm/Storage/SQL.php:1.15 Sun Feb 20 08:27:41 2005 +++ pear/LiveUser/Perm/Storage/SQL.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: SQL.php,v 1.16 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,23 +51,16 @@ require_once 'LiveUser/Perm/Storage/Globals.php'; /** - * This is a PEAR::MDB2 backend driver for the LiveUser class. - * A PEAR::MDB2 connection object can be passed to the constructor to reuse an - * existing connection. Alternatively, a DSN can be passed to open a new one. - * - * Requirements: - * - File "Liveuser.php" (contains the parent class "LiveUser") - * - Array of connection options or a PEAR::MDB2 connection object must be - * passed to the constructor. - * Example: array('dsn' => 'mysql://user:pass@host/db_name') - * OR - * &$conn (PEAR::MDB2 connection object) + * SQL container for permission handling * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: SQL.php,v 1.15 2005/02/20 13:27:41 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_SQL extends LiveUser_Perm_Storage { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/XML.php?r1=1.8&r2=1.9&ty=u Index: pear/LiveUser/Perm/Storage/XML.php diff -u pear/LiveUser/Perm/Storage/XML.php:1.8 pear/LiveUser/Perm/Storage/XML.php:1.9 --- pear/LiveUser/Perm/Storage/XML.php:1.8 Sun Feb 20 08:50:19 2005 +++ pear/LiveUser/Perm/Storage/XML.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: XML.php,v 1.9 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,17 +51,22 @@ require_once 'XML/Tree.php'; /** + * XML container for permission handling + * * This is a XML backend driver for the LiveUser class. * * Requirements: * - File "Liveuser.php" (contains the parent class "LiveUser") * - XML_Parser * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: XML.php,v 1.8 2005/02/20 13:50:19 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_XML extends LiveUser_Perm_Storage { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Complex.php?r1=1.6&r2=1.7&ty=u Index: pear/LiveUser/Perm/Complex.php diff -u pear/LiveUser/Perm/Complex.php:1.6 pear/LiveUser/Perm/Complex.php:1.7 --- pear/LiveUser/Perm/Complex.php:1.6 Sun Feb 20 08:46:10 2005 +++ pear/LiveUser/Perm/Complex.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Complex.php,v 1.7 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -29,23 +50,19 @@ require_once 'LiveUser/Perm/Medium.php'; /** - * This is a PEAR::MDB2 backend driver for the LiveUser class. - * A PEAR::MDB2 connection object can be passed to the constructor to reuse an - * existing connection. Alternatively, a DSN can be passed to open a new one. + * Complex container for permission handling * - * Requirements: - * - File "Liveuser.php" (contains the parent class "LiveUser") - * - Array of connection options or a PEAR::MDB2 connection object must be - * passed to the constructor. - * Example: array('dsn' => 'mysql://user:pass@host/db_name') - * OR - * &$conn (PEAR::MDB2 connection object) + * Complex permission complexity driver for LiveUser. * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: Complex.php,v 1.6 2005/02/20 13:46:10 dufuz Exp $ - * @package LiveUser - * @category authentication + * @version $Id: Complex.php,v 1.7 2005/02/20 19:13:36 dufuz Exp $ + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Complex extends LiveUser_Perm_Medium { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Medium.php?r1=1.6&r2=1.7&ty=u Index: pear/LiveUser/Perm/Medium.php diff -u pear/LiveUser/Perm/Medium.php:1.6 pear/LiveUser/Perm/Medium.php:1.7 --- pear/LiveUser/Perm/Medium.php:1.6 Sun Feb 20 08:46:10 2005 +++ pear/LiveUser/Perm/Medium.php Sun Feb 20 14:13:36 2005 @@ -1,23 +1,51 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * Medium container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Medium.php,v 1.7 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser + */ + +/** + * * @package LiveUser * @category authentication @@ -29,20 +57,17 @@ require_once 'LiveUser/Perm/Simple.php'; /** - * Medium permission complexity driver for LiveUser. + * Medium container for permission handling * - * Description: - * The Medium provides the following functionalities - * - users - * - groups - * - grouprights - * - userrights - * - authareas + * Medium permission complexity driver for LiveUser. * - * @author Arnaud Limbourg - * @version $Id: Medium.php,v 1.6 2005/02/20 13:46:10 dufuz Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Arnaud Limbourg + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Medium extends LiveUser_Perm_Simple { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Simple.php?r1=1.16&r2=1.17&ty=u Index: pear/LiveUser/Perm/Simple.php diff -u pear/LiveUser/Perm/Simple.php:1.16 pear/LiveUser/Perm/Simple.php:1.17 --- pear/LiveUser/Perm/Simple.php:1.16 Sun Feb 20 08:33:47 2005 +++ pear/LiveUser/Perm/Simple.php Sun Feb 20 14:13:36 2005 @@ -1,38 +1,64 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * Base class for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Simple.php,v 1.17 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** + * Base class for permission handling + * * This class provides a set of functions for implementing a user * permission management system on live websites. All authorisation * backends/containers must be extensions of this base class. * + * @category authentication + * @package LiveUser * @author Markus Wolff <wolff@21st.de> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: Simple.php,v 1.16 2005/02/20 13:33:47 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Simple { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage.php?r1=1.4&r2=1.5&ty=u Index: pear/LiveUser/Perm/Storage.php diff -u pear/LiveUser/Perm/Storage.php:1.4 pear/LiveUser/Perm/Storage.php:1.5 --- pear/LiveUser/Perm/Storage.php:1.4 Sun Feb 20 08:33:47 2005 +++ pear/LiveUser/Perm/Storage.php Sun Feb 20 14:13:36 2005 @@ -1,46 +1,60 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Storage.php,v 1.5 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** - * This is a PEAR::MDB2 backend driver for the LiveUser class. - * A PEAR::MDB2 connection object can be passed to the constructor to reuse an - * existing connection. Alternatively, a DSN can be passed to open a new one. - * - * Requirements: - * - File "Liveuser.php" (contains the parent class "LiveUser") - * - Array of connection options or a PEAR::MDB2 connection object must be - * passed to the constructor. - * Example: array('dsn' => 'mysql://user:pass@host/db_name') - * OR - * &$conn (PEAR::MDB2 connection object) + * Abstraction class for all the storage containers * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: Storage.php,v 1.4 2005/02/20 13:33:47 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage { http://cvs.php.net/diff.php/pear/LiveUser/LiveUser.php?r1=1.50&r2=1.51&ty=u Index: pear/LiveUser/LiveUser.php diff -u pear/LiveUser/LiveUser.php:1.50 pear/LiveUser/LiveUser.php:1.51 --- pear/LiveUser/LiveUser.php:1.50 Sun Feb 20 08:27:22 2005 +++ pear/LiveUser/LiveUser.php Sun Feb 20 14:13:36 2005 @@ -1,22 +1,9 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** + * A framework for authentication and authorization in PHP applications + * * LiveUser is an authentication/permission framework designed * to be flexible and easily extendable. * @@ -25,8 +12,36 @@ * approach which should enable it to * be versatile enough to meet most needs. * - * @package LiveUser + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: LiveUser.php,v 1.51 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -151,13 +166,17 @@ * Thanks to: * Bjoern Schotte, Kristian Koehntopp, Antonio Guerra * + * @category authentication + * @package LiveUser * @author Markus Wolff <wolff@21st.de> * @author Bjoern Kraus <krausbn@php.net> * @author Lukas Smith <smith@backendmedia.com> * @author Pierre-Alain Joye <pajoye@php.net> * @author Arnaud Limbourg <arnaud@php.net> - * @version $Id: LiveUser.php,v 1.50 2005/02/20 13:27:22 lsmith Exp $ - * @package LiveUser + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser { @@ -297,7 +316,7 @@ */ var $events = array( 'onLogin', // successfully logged in - 'onFailedLogin', // failed logged in + 'onFailedLogin', // failed login 'onUnfreeze', // successfully unfreeze of a previously logged in user 'forceLogin', // login required -> you could display a login form 'onLogout', // before logout -> can be used to cleanup own stuff
http://cvs.php.net/diff.php/pear/LiveUser/Auth/Common.php?r1=1.15&r2=1.16&ty=u Index: pear/LiveUser/Auth/Common.php diff -u pear/LiveUser/Auth/Common.php:1.15 pear/LiveUser/Auth/Common.php:1.16 --- pear/LiveUser/Auth/Common.php:1.15 Sun Feb 20 08:43:50 2005 +++ pear/LiveUser/Auth/Common.php Sun Feb 20 14:13:36 2005 @@ -1,20 +1,48 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Common.php,v 1.16 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser + */ /** * This class provides a set of functions for implementing a user @@ -27,10 +55,13 @@ * - LiveUser admin GUI for easy user administration and setup of * authorisation areas and rights * - * @author Markus Wolff <wolff@21st.de> - * @version $Id: Common.php,v 1.15 2005/02/20 13:43:50 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Markus Wolff <wolff@21st.de> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/DB.php?r1=1.12&r2=1.13&ty=u Index: pear/LiveUser/Auth/DB.php diff -u pear/LiveUser/Auth/DB.php:1.12 pear/LiveUser/Auth/DB.php:1.13 --- pear/LiveUser/Auth/DB.php:1.12 Sun Feb 20 08:51:01 2005 +++ pear/LiveUser/Auth/DB.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * DB container for Authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: DB.php,v 1.13 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,6 +51,8 @@ require_once 'DB.php'; /** + * DB container for Authentication + * * This is a PEAR::DB backend driver for the LiveUser class. * A PEAR::DB connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -43,10 +66,13 @@ * 'loginTimeout' => 0, * 'allowDuplicateHandles' => 1); * - * @author Markus Wolff <wolff@21st.de> - * @version $Id: DB.php,v 1.12 2005/02/20 13:51:01 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Markus Wolff <wolff@21st.de> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_DB extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/MDB2.php?r1=1.13&r2=1.14&ty=u Index: pear/LiveUser/Auth/MDB2.php diff -u pear/LiveUser/Auth/MDB2.php:1.13 pear/LiveUser/Auth/MDB2.php:1.14 --- pear/LiveUser/Auth/MDB2.php:1.13 Sun Feb 20 08:51:01 2005 +++ pear/LiveUser/Auth/MDB2.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2 container for Authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: MDB2.php,v 1.14 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -31,6 +52,8 @@ MDB2::loadFile('Date'); /** + * MDB2 container for Authentication + * * This is a PEAR::MDB2 backend driver for the LiveUser class. * A PEAR::MDB2 connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -44,10 +67,13 @@ * 'loginTimeout' => 0, * 'allowDuplicateHandles' => 1); * - * @author Markus Wolff <wolff@21st.de> - * @version $Id: MDB2.php,v 1.13 2005/02/20 13:51:01 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Markus Wolff <wolff@21st.de> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_MDB2 extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/MDB.php?r1=1.12&r2=1.13&ty=u Index: pear/LiveUser/Auth/MDB.php diff -u pear/LiveUser/Auth/MDB.php:1.12 pear/LiveUser/Auth/MDB.php:1.13 --- pear/LiveUser/Auth/MDB.php:1.12 Sun Feb 20 08:51:01 2005 +++ pear/LiveUser/Auth/MDB.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB container for Authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: MDB.php,v 1.13 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -31,6 +52,8 @@ MDB::loadFile('Date'); /** + * MDB container for Authentication + * * This is a PEAR::MDB backend driver for the LiveUser class. * A PEAR::MDB connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -44,10 +67,13 @@ * 'loginTimeout' => 0, * 'allowDuplicateHandles' => 1); * - * @author Markus Wolff <wolff@21st.de> - * @version $Id: MDB.php,v 1.12 2005/02/20 13:51:01 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Markus Wolff <wolff@21st.de> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_MDB extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/PEARAuth.php?r1=1.8&r2=1.9&ty=u Index: pear/LiveUser/Auth/PEARAuth.php diff -u pear/LiveUser/Auth/PEARAuth.php:1.8 pear/LiveUser/Auth/PEARAuth.php:1.9 --- pear/LiveUser/Auth/PEARAuth.php:1.8 Sun Feb 20 08:43:50 2005 +++ pear/LiveUser/Auth/PEARAuth.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * PEAR_Auth container for Authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: PEARAuth.php,v 1.9 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,6 +51,8 @@ require_once 'Auth/Auth.php'; /** + * PEAR_Auth container for Authentication + * * ==================== !!! WARNING !!! ======================================== * * THIS CONTAINER IS UNDER HEAVY DEVELOPMENT. IT'S STILL IN EXPERIMENTAL @@ -46,10 +69,13 @@ * - PEAR::Auth must be installed in your PEAR directory * - Array of setup options must be passed to the constructor. * - * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: PEARAuth.php,v 1.8 2005/02/20 13:43:50 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_PEARAuth extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/Session.php?r1=1.5&r2=1.6&ty=u Index: pear/LiveUser/Auth/Session.php diff -u pear/LiveUser/Auth/Session.php:1.5 pear/LiveUser/Auth/Session.php:1.6 --- pear/LiveUser/Auth/Session.php:1.5 Sun Feb 20 08:43:50 2005 +++ pear/LiveUser/Auth/Session.php Sun Feb 20 14:13:36 2005 @@ -1,40 +1,66 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * Session based container for Authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Session.php,v 1.6 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ require_once 'LiveUser/Auth/Common.php'; /** + * Session based container for Authentication + * * This is a backend driver for a simple session based anonymous LiveUser class. * * Requirements: * - File "LiveUser.php" (contains the parent class "LiveUser") * - * @author Lukas Smith <smith@backendmedia.com> - * @version $Id: Session.php,v 1.5 2005/02/20 13:43:50 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Lukas Smith <smith@backendmedia.com> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_Session extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Auth/XML.php?r1=1.12&r2=1.13&ty=u Index: pear/LiveUser/Auth/XML.php diff -u pear/LiveUser/Auth/XML.php:1.12 pear/LiveUser/Auth/XML.php:1.13 --- pear/LiveUser/Auth/XML.php:1.12 Sun Feb 20 08:43:50 2005 +++ pear/LiveUser/Auth/XML.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * XML driver for authentication + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: XML.php,v 1.13 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,12 +51,17 @@ require_once 'XML/Tree.php'; /** + * XML driver for authentication + * * This is a XML backend driver for the LiveUser class. * - * @author Björn Kraus <krausbn@php.net> - * @version $Id: XML.php,v 1.12 2005/02/20 13:43:50 lsmith Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Björn Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Auth_XML extends LiveUser_Auth_Common { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/Cache.php?r1=1.4&r2=1.5&ty=u Index: pear/LiveUser/Perm/Storage/Cache.php diff -u pear/LiveUser/Perm/Storage/Cache.php:1.4 pear/LiveUser/Perm/Storage/Cache.php:1.5 --- pear/LiveUser/Perm/Storage/Cache.php:1.4 Sun Feb 20 08:27:41 2005 +++ pear/LiveUser/Perm/Storage/Cache.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * Cache container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Cache.php,v 1.5 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -29,13 +50,18 @@ require_once 'LiveUser/Perm/Storage.php'; /** + * Cache container for permission handling + * * This is a Cache backend driver for the LiveUser class. * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: Cache.php,v 1.4 2005/02/20 13:27:41 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_Cache extends LiveUser_Perm_Storage { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/DB.php?r1=1.8&r2=1.9&ty=u Index: pear/LiveUser/Perm/Storage/DB.php diff -u pear/LiveUser/Perm/Storage/DB.php:1.8 pear/LiveUser/Perm/Storage/DB.php:1.9 --- pear/LiveUser/Perm/Storage/DB.php:1.8 Sun Feb 20 08:27:41 2005 +++ pear/LiveUser/Perm/Storage/DB.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * DB_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: DB.php,v 1.9 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,6 +51,8 @@ require_once 'DB.php'; /** + * DB container for permission handling + * * This is a PEAR::DB backend driver for the LiveUser class. * A PEAR::DB connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -42,11 +65,15 @@ * OR * &$conn (PEAR::DB connection object) * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: DB.php,v 1.8 2005/02/20 13:27:41 lsmith Exp $ - * @package LiveUser - * @category authentication + * @version $Id: DB.php,v 1.9 2005/02/20 19:13:36 dufuz Exp $ + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_DB extends LiveUser_Perm_Storage_SQL { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/Globals.php?r1=1.4&r2=1.5&ty=u Index: pear/LiveUser/Perm/Storage/Globals.php diff -u pear/LiveUser/Perm/Storage/Globals.php:1.4 pear/LiveUser/Perm/Storage/Globals.php:1.5 --- pear/LiveUser/Perm/Storage/Globals.php:1.4 Wed Jan 19 16:31:43 2005 +++ pear/LiveUser/Perm/Storage/Globals.php Sun Feb 20 14:13:36 2005 @@ -1,20 +1,58 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Globals.php,v 1.5 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser + */ + + +/** + * This file holds all our default table/fields name/types/relations, + * if they should be checked and more which are needed by both + * LiveUser and LiveUser_Admin + * + * You can add to those table or modify options via our table/field + * options in the config. + */ $GLOBALS['_LiveUser']['perm']['tables'] = array( 'perm_users' => array( http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/MDB2.php?r1=1.7&r2=1.8&ty=u Index: pear/LiveUser/Perm/Storage/MDB2.php diff -u pear/LiveUser/Perm/Storage/MDB2.php:1.7 pear/LiveUser/Perm/Storage/MDB2.php:1.8 --- pear/LiveUser/Perm/Storage/MDB2.php:1.7 Sun Feb 20 08:27:41 2005 +++ pear/LiveUser/Perm/Storage/MDB2.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: MDB2.php,v 1.8 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,6 +51,8 @@ require_once 'MDB2.php'; /** + * MDB2 container for permission handling + * * This is a PEAR::MDB2 backend driver for the LiveUser class. * A PEAR::MDB2 connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -42,11 +65,14 @@ * OR * &$conn (PEAR::MDB2 connection object) * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: MDB2.php,v 1.7 2005/02/20 13:27:41 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_MDB2 extends LiveUser_Perm_Storage_SQL { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/MDB.php?r1=1.7&r2=1.8&ty=u Index: pear/LiveUser/Perm/Storage/MDB.php diff -u pear/LiveUser/Perm/Storage/MDB.php:1.7 pear/LiveUser/Perm/Storage/MDB.php:1.8 --- pear/LiveUser/Perm/Storage/MDB.php:1.7 Sun Feb 20 08:27:41 2005 +++ pear/LiveUser/Perm/Storage/MDB.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: MDB.php,v 1.8 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,6 +51,8 @@ require_once 'MDB.php'; /** + * MDB container for permission handling + * * This is a PEAR::MDB backend driver for the LiveUser class. * A PEAR::MDB connection object can be passed to the constructor to reuse an * existing connection. Alternatively, a DSN can be passed to open a new one. @@ -42,11 +65,14 @@ * OR * &$conn (PEAR::MDB connection object) * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: MDB.php,v 1.7 2005/02/20 13:27:41 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_MDB extends LiveUser_Perm_Storage_SQL { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/SQL.php?r1=1.15&r2=1.16&ty=u Index: pear/LiveUser/Perm/Storage/SQL.php diff -u pear/LiveUser/Perm/Storage/SQL.php:1.15 pear/LiveUser/Perm/Storage/SQL.php:1.16 --- pear/LiveUser/Perm/Storage/SQL.php:1.15 Sun Feb 20 08:27:41 2005 +++ pear/LiveUser/Perm/Storage/SQL.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: SQL.php,v 1.16 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,23 +51,16 @@ require_once 'LiveUser/Perm/Storage/Globals.php'; /** - * This is a PEAR::MDB2 backend driver for the LiveUser class. - * A PEAR::MDB2 connection object can be passed to the constructor to reuse an - * existing connection. Alternatively, a DSN can be passed to open a new one. - * - * Requirements: - * - File "Liveuser.php" (contains the parent class "LiveUser") - * - Array of connection options or a PEAR::MDB2 connection object must be - * passed to the constructor. - * Example: array('dsn' => 'mysql://user:pass@host/db_name') - * OR - * &$conn (PEAR::MDB2 connection object) + * SQL container for permission handling * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: SQL.php,v 1.15 2005/02/20 13:27:41 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_SQL extends LiveUser_Perm_Storage { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage/XML.php?r1=1.8&r2=1.9&ty=u Index: pear/LiveUser/Perm/Storage/XML.php diff -u pear/LiveUser/Perm/Storage/XML.php:1.8 pear/LiveUser/Perm/Storage/XML.php:1.9 --- pear/LiveUser/Perm/Storage/XML.php:1.8 Sun Feb 20 08:50:19 2005 +++ pear/LiveUser/Perm/Storage/XML.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: XML.php,v 1.9 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -30,17 +51,22 @@ require_once 'XML/Tree.php'; /** + * XML container for permission handling + * * This is a XML backend driver for the LiveUser class. * * Requirements: * - File "Liveuser.php" (contains the parent class "LiveUser") * - XML_Parser * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: XML.php,v 1.8 2005/02/20 13:50:19 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage_XML extends LiveUser_Perm_Storage { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Complex.php?r1=1.6&r2=1.7&ty=u Index: pear/LiveUser/Perm/Complex.php diff -u pear/LiveUser/Perm/Complex.php:1.6 pear/LiveUser/Perm/Complex.php:1.7 --- pear/LiveUser/Perm/Complex.php:1.6 Sun Feb 20 08:46:10 2005 +++ pear/LiveUser/Perm/Complex.php Sun Feb 20 14:13:36 2005 @@ -1,26 +1,47 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Complex.php,v 1.7 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -29,23 +50,19 @@ require_once 'LiveUser/Perm/Medium.php'; /** - * This is a PEAR::MDB2 backend driver for the LiveUser class. - * A PEAR::MDB2 connection object can be passed to the constructor to reuse an - * existing connection. Alternatively, a DSN can be passed to open a new one. + * Complex container for permission handling * - * Requirements: - * - File "Liveuser.php" (contains the parent class "LiveUser") - * - Array of connection options or a PEAR::MDB2 connection object must be - * passed to the constructor. - * Example: array('dsn' => 'mysql://user:pass@host/db_name') - * OR - * &$conn (PEAR::MDB2 connection object) + * Complex permission complexity driver for LiveUser. * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: Complex.php,v 1.6 2005/02/20 13:46:10 dufuz Exp $ - * @package LiveUser - * @category authentication + * @version $Id: Complex.php,v 1.7 2005/02/20 19:13:36 dufuz Exp $ + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Complex extends LiveUser_Perm_Medium { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Medium.php?r1=1.6&r2=1.7&ty=u Index: pear/LiveUser/Perm/Medium.php diff -u pear/LiveUser/Perm/Medium.php:1.6 pear/LiveUser/Perm/Medium.php:1.7 --- pear/LiveUser/Perm/Medium.php:1.6 Sun Feb 20 08:46:10 2005 +++ pear/LiveUser/Perm/Medium.php Sun Feb 20 14:13:36 2005 @@ -1,23 +1,51 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * Medium container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Medium.php,v 1.7 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser + */ + +/** + * * @package LiveUser * @category authentication @@ -29,20 +57,17 @@ require_once 'LiveUser/Perm/Simple.php'; /** - * Medium permission complexity driver for LiveUser. + * Medium container for permission handling * - * Description: - * The Medium provides the following functionalities - * - users - * - groups - * - grouprights - * - userrights - * - authareas + * Medium permission complexity driver for LiveUser. * - * @author Arnaud Limbourg - * @version $Id: Medium.php,v 1.6 2005/02/20 13:46:10 dufuz Exp $ - * @package LiveUser * @category authentication + * @package LiveUser + * @author Arnaud Limbourg + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Medium extends LiveUser_Perm_Simple { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Simple.php?r1=1.16&r2=1.17&ty=u Index: pear/LiveUser/Perm/Simple.php diff -u pear/LiveUser/Perm/Simple.php:1.16 pear/LiveUser/Perm/Simple.php:1.17 --- pear/LiveUser/Perm/Simple.php:1.16 Sun Feb 20 08:33:47 2005 +++ pear/LiveUser/Perm/Simple.php Sun Feb 20 14:13:36 2005 @@ -1,38 +1,64 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * Base class for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Simple.php,v 1.17 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** + * Base class for permission handling + * * This class provides a set of functions for implementing a user * permission management system on live websites. All authorisation * backends/containers must be extensions of this base class. * + * @category authentication + * @package LiveUser * @author Markus Wolff <wolff@21st.de> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: Simple.php,v 1.16 2005/02/20 13:33:47 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Simple { http://cvs.php.net/diff.php/pear/LiveUser/Perm/Storage.php?r1=1.4&r2=1.5&ty=u Index: pear/LiveUser/Perm/Storage.php diff -u pear/LiveUser/Perm/Storage.php:1.4 pear/LiveUser/Perm/Storage.php:1.5 --- pear/LiveUser/Perm/Storage.php:1.4 Sun Feb 20 08:33:47 2005 +++ pear/LiveUser/Perm/Storage.php Sun Feb 20 14:13:36 2005 @@ -1,46 +1,60 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * MDB2_Complex container for permission handling + * A framework for authentication and authorization in PHP applications + * + * LiveUser is an authentication/permission framework designed + * to be flexible and easily extendable. + * + * Since it is impossible to have a + * "one size fits all" it takes a container + * approach which should enable it to + * be versatile enough to meet most needs. + * + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * * - * @package LiveUser * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: Storage.php,v 1.5 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** - * This is a PEAR::MDB2 backend driver for the LiveUser class. - * A PEAR::MDB2 connection object can be passed to the constructor to reuse an - * existing connection. Alternatively, a DSN can be passed to open a new one. - * - * Requirements: - * - File "Liveuser.php" (contains the parent class "LiveUser") - * - Array of connection options or a PEAR::MDB2 connection object must be - * passed to the constructor. - * Example: array('dsn' => 'mysql://user:pass@host/db_name') - * OR - * &$conn (PEAR::MDB2 connection object) + * Abstraction class for all the storage containers * + * @category authentication + * @package LiveUser * @author Lukas Smith <smith@backendmedia.com> * @author Bjoern Kraus <krausbn@php.net> - * @version $Id: Storage.php,v 1.4 2005/02/20 13:33:47 lsmith Exp $ - * @package LiveUser - * @category authentication + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser_Perm_Storage { http://cvs.php.net/diff.php/pear/LiveUser/LiveUser.php?r1=1.50&r2=1.51&ty=u Index: pear/LiveUser/LiveUser.php diff -u pear/LiveUser/LiveUser.php:1.50 pear/LiveUser/LiveUser.php:1.51 --- pear/LiveUser/LiveUser.php:1.50 Sun Feb 20 08:27:22 2005 +++ pear/LiveUser/LiveUser.php Sun Feb 20 14:13:36 2005 @@ -1,22 +1,9 @@ <?php -// LiveUser: A framework for authentication and authorization in PHP applications -// Copyright (C) 2002-2003 Markus Wolff -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** + * A framework for authentication and authorization in PHP applications + * * LiveUser is an authentication/permission framework designed * to be flexible and easily extendable. * @@ -25,8 +12,36 @@ * approach which should enable it to * be versatile enough to meet most needs. * - * @package LiveUser + * PHP version 4 and 5 + * + * LICENSE: This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * * @category authentication + * @package LiveUser_Admin + * @author Markus Wolff <wolff@21st.de> + * @author Helgi Þormar Þorbjörnsson <dufuz@php.net> + * @author Lukas Smith <smith@backendmedia.com> + * @author Arnaud Limbourg <arnaud@php.net> + * @author Pierre-Alain Joye <pajoye@php.net> + * @author Bjoern Kraus <krausbn@php.net> + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version CVS: $Id: LiveUser.php,v 1.51 2005/02/20 19:13:36 dufuz Exp $ + * @link http://pear.php.net/LiveUser */ /** @@ -151,13 +166,17 @@ * Thanks to: * Bjoern Schotte, Kristian Koehntopp, Antonio Guerra * + * @category authentication + * @package LiveUser * @author Markus Wolff <wolff@21st.de> * @author Bjoern Kraus <krausbn@php.net> * @author Lukas Smith <smith@backendmedia.com> * @author Pierre-Alain Joye <pajoye@php.net> * @author Arnaud Limbourg <arnaud@php.net> - * @version $Id: LiveUser.php,v 1.50 2005/02/20 13:27:22 lsmith Exp $ - * @package LiveUser + * @copyright 2002-2005 Markus Wolff + * @license http://www.gnu.org/licenses/lgpl.txt + * @version Release: @package_version@ + * @link http://pear.php.net/LiveUser */ class LiveUser { @@ -297,7 +316,7 @@ */ var $events = array( 'onLogin', // successfully logged in - 'onFailedLogin', // failed logged in + 'onFailedLogin', // failed login 'onUnfreeze', // successfully unfreeze of a previously logged in user 'forceLogin', // login required -> you could display a login form 'onLogout', // before logout -> can be used to cleanup own stuff