PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » LiveUser

User authentication and permission management framework

This package is unmaintained.

Download latest release 0.16.14 (archived versions might be outdated)

License: LGPL

Description

LiveUser is a set of classes for dealing with user authentication
and permission management. Basically, there are three main elements that
make up this package:

* The LiveUser class
* The Auth containers
* The Perm containers

The LiveUser class takes care of the login process and can be configured
to use a certain permission container and one or more different auth containers.
That means, you can have your users' data scattered amongst many data containers
and have the LiveUser class try each defined container until the user is found.
For example, you can have all website users who can apply for a new account online
on the webserver's local database. Also, you want to enable all your company's
employees to login to the site without the need to create new accounts for all of
them. To achieve that, a second container can be defined to be used by the LiveUser class.

You can also define a permission container of your choice that will manage the rights for
each user. Depending on the container, you can implement any kind of permission schemes
for your application while having one consistent API.

Using different permission and auth containers, it's easily possible to integrate
newly written applications with older ones that have their own ways of storing permissions
and user data. Just make a new container type and you're ready to go!

Currently available are containers using:
PEAR::DB, PEAR::MDB, PEAR::MDB2, PECL::PDO, PEAR::XML_Tree, PEAR::Auth, Session.

Documentation

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#127ClosedBug2003-10-20Install problem
#173ClosedBug2003-10-31Chicken and Egg problem with addTranslation() and addLanguage()
#214ClosedBug2003-11-07Constructor returns error object on error. This isn't legal php code.
#269ClosedBug2003-11-18getAllUsers additional filters
#294ClosedBug2003-11-25SQL Error in DB_Medium.php
#295ClosedBug2003-11-25getAuthAdminObjectByName errors in latest CVS
#296ClosedBug2003-11-25Feat.Req: Flexible field list for auth table
#337ClosedBug2003-12-02window linebreak/returns in package
#344ClosedBug2003-12-03SQL compatibility suggestions
#345ClosedBug2003-12-03SQL compatibility suggestions [2]
#348ClosedBug2003-12-03No updateUser() method for LiveUser_Admin_Perm_Common
#352ClosedBug2003-12-04Field name change for Oracle compat
#355ClosedBug2003-12-04Another Oracle compatibility issue with get* methods
#365ClosedBug2003-12-05Duplicate code in LiveUser_Admin_Perm_DB_Common::removeUser()
#366ClosedBug2003-12-05Code needed to update owner_user_id and owner_group_id
#367ClosedBug2003-12-05Parameter mismatch in LiveUser_Admin_Perm_DB_Common::removeUserAreaAdmin()
#368ClosedBug2003-12-05More Oracle compatibility issues
#383ClosedBug2003-12-08missing space for where clause on line 261 in /Admin/Perm/Container/DB_Complex
#384ClosedBug2003-12-08Implied rights mapping not deleted when right deleted
#385ClosedBug2003-12-08Suggestion for new methods
#401ClosedBug2003-12-10LiveUser_Admin_Perm_Container_DB_Complex::assignSubgroup()
#402ClosedBug2003-12-10Problem with LiveUser_Admin_Perm_Container_DB_Complex::getGroups()
#406ClosedBug2003-12-11Extra line feed at the top of db_complex.php causing cookie problems
#407ClosedBug2003-12-11Incorrect database structure creation within Perm_DB_Complex.sql
#414ClosedBug2003-12-12SQL query problem
#416ClosedBug2003-12-12Retrieval of implied rights
#418ClosedBug2003-12-12addUser() and updateUser() don't set owner_user_id or owner_group_id
#419ClosedBug2003-12-12Foreign Key constraint violation
#420ClosedBug2003-12-12Prevent addUserToGroup from adding duplicates
#429ClosedBug2003-12-15LiveUser_Admin_Perm_DB_Common::outputRightsConstants
#433ClosedBug2003-12-15Right levels
#447No FeedbackBug2003-12-17Tutorial not right.
#451ClosedBug2003-12-17another sql compatibility suggestion
#453ClosedBug2003-12-18LiveUser_Perm_Container_DB_Complex::userExists
#454ClosedBug2003-12-18LiveUser_Perm_DB_Common::setUserAreaAdmin suggestion
#456ClosedBug2003-12-18Admin_Perm_Container_DB_Complex::addUserToGroup
#463ClosedBug2003-12-19LiveUser_Admin_Auth_Container_DB::addUser documentation
#464ClosedBug2003-12-19LiveUser_Auth_Container_DB::userExists
#468BogusBug2003-12-20md5 checksum errors installing LiveUser
#478BogusBug2003-12-22LiveUser_Admin_Auth_Container_DB::getUsers, column name restrictions
#480ClosedBug2003-12-22LiveUser::_storeCookiePasswdId documentation
#509No FeedbackBug2004-01-02LiveUser_Error ignores handlers
#531ClosedBug2004-01-07Admin_Perm_Container_DB_Medium::addUserToGroup does not work
#533ClosedBug2004-01-07Suggestion: customFields for creating and updating a user
#566ClosedBug2004-01-13LiveUser::getAuthAdminObjectByName skips matching
#567ClosedBug2004-01-13LiveUser::init useless code present
#568ClosedBug2004-01-13LiveUser::tryLogin leftover cookie on error
#569ClosedBug2004-01-13LiveUser::unfreeze lax success condition
#570ClosedBug2004-01-13LiveUser::logout remember-me fails and perm left set
#571ClosedBug2004-01-13LiveUser::checkRight may succeed when not logged in
#572ClosedBug2004-01-13Admin_Perm_DB_Common::_getPermUserId()
#636ClosedBug2004-01-28LiveUser_Admin_Auth_Container_DB var $name is not assigned
#638BogusBug2004-01-28pear install doesnt work
#702ClosedBug2004-02-07Fixes/Bugs in Examples
#722ClosedBug2004-02-09checkRightLevel() should support multiple group ids
#728ClosedBug2004-02-10Bug in getRights() and getInheritedRights()
#736ClosedBug2004-02-11raiseError on autoinit
#737ClosedBug2004-02-11Bug in recent commit to Perm/Container/DB_Complex.php
#738ClosedBug2004-02-11Bug in unfreeze()
#773ClosedBug2004-02-16Wrong constructor name
#776ClosedBug2004-02-17Authentification bug with two files
#789No FeedbackBug2004-02-18mysql error when username/password is wrong
#790BogusBug2004-02-18Notice in LiveUser_Admin_Auth_Container_DB constructor
#857ClosedBug2004-02-25Bug in addUser in LiveUser_Admin_Auth_Container_MDB
#877ClosedBug2004-02-26AdminAuthMDB addUser fails with SQL problem
#926BogusBug2004-02-29Feature Request: AddRights Change (BC)
#931ClosedBug2004-03-01[feature request] define names as arrays
#932ClosedBug2004-03-02[Feature Request/Patch] Singleton method
#942ClosedBug2004-03-04Bug in isInactive()
#943ClosedBug2004-03-04Logout problematic
#979ClosedBug2004-03-09Bug in processLogout()
#981ClosedBug2004-03-09DB Schema
#988ClosedReq2004-03-10[added script] SQL Generator "foo"
#990ClosedBug2004-03-10interbase/firebird SQL compatibility suggestions
#1014ClosedBug2004-03-14Examples More Patches ;)
#1018ClosedBug2004-03-15Log out not working in example #5
#1020BogusBug2004-03-16isInactive() problematic (DB container)
#1030ClosedBug2004-03-17admin_exemple bug
#1042ClosedBug2004-03-20some fixes to the perm_db.sql
#1122ClosedBug2004-04-03Feature Request: Destroy and recreate session on login
#1131ClosedBug2004-04-04unnecessary unique key in rights table
#1174ClosedBug2004-04-10singleton method not working
#1196BogusBug2004-04-13Exampl #4 - SQL Dump is wrecked /w patch
#1208ClosedBug2004-04-14Auth/Common.php - decryptPW() - missing break in switch statement w/ patch
#1254ClosedBug2004-04-21Auth_Common::login() fails to authenticate successfully
#1276ClosedBug2004-04-24Wrong users status after failed login
#1278BogusBug2004-04-25Example 3 not working
#1291ClosedBug2004-04-26examples 3 still broken
#1417ClosedBug2004-05-16missing paramater in isError in LiveUser::singleton
#1425ClosedBug2004-05-17getGroups does not return define_name
#1439ClosedBug2004-05-19LiveUser->status is set to LIVEUSER_STATUS_AUTHFAILED falsely w/ Patch
#1520ClosedBug2004-05-27Bug in _readImpliedRights() in Perm/Container/DB_Complex.php
#1527No FeedbackBug2004-05-28Internal SQL error on one of the examples
#1532ClosedBug2004-05-31Database issues
#1537No FeedbackBug2004-06-02isInactive() - incorrect behavior
#1554ClosedBug2004-06-03file:LiveUser/Admin/Auth/Container/MDB2.php line 250
#1560ClosedBug2004-06-04LiveUser\Admin\Admin.php, function:updateUser, Line 472
#1600ClosedBug2004-06-10MySQL Schema creation bug
#1605ClosedBug2004-06-10Bug in addUser in LiveUser_Admin_Auth_Container_MDB2
#1608BogusBug2004-06-10users column auth_container_name
#1609ClosedBug2004-06-10Joining prefix_groups group_id with prefix_groupusers group_id extremly slow
#1638BogusBug2004-06-14Wrong array key in Admin/Auth/Cont../DB
#1639ClosedBug2004-06-14Error in foreach loop
#1643ClosedReq2004-06-15LiveUser Error: Feature not supported message should give called function name
#1654ClosedBug2004-06-16error in perm init
#1661ClosedBug2004-06-16updateUserData() method name inconsistency
#1662ClosedBug2004-06-16LIVEUSER_MAX_LEVEL constant inclusion missing in Admin class
#1670No FeedbackBug2004-06-17group_define_name doesn't accept NULL values
#1672ClosedBug2004-06-17'auth_user_id' naming inconsistency
#1673No FeedbackBug2004-06-18Admin_Perm_DB_Medium::updateGroup never completed
#1674ClosedReq2004-06-18LiveUser_Admin - Add method getAffectedUsers() /w Patch
#1691ClosedBug2004-06-21Container PEAR_Auth is broken
#1773ClosedBug2004-07-02removeRight with DB_Simple
#1800ClosedBug2004-07-05errors in LiveUser_Admin_Auth_Container_DB::getUsers()
#1814ClosedBug2004-07-07adduser does not work in Class: LiveUser_Admin_Perm_Container_DB_Simple
#1845ClosedReq2004-07-11Additional check in isLoggedIn() for additional security
#1924ClosedReq2004-07-20Possibility to define Aliases for Tablefields in LiveUser::Admin
#1925ClosedBug2004-07-20init() x2 returns error
#1940ClosedBug2004-07-21Small fix to PHPDoc
#1954ClosedBug2004-07-22call to undefined function quote()
#1957ClosedBug2004-07-22getrights() defines column types wrong
#1958ClosedBug2004-07-22variable "typo" in Admin/Auth/Container/DB.php
#1996ClosedBug2004-07-27Undefined index type
#1997BogusBug2004-07-27updateGroup() broken
#2001ClosedReq2004-07-27standard return types
#2002ClosedReq2004-07-28Column 'group_define_name' cannot be null
#2037ClosedBug2004-08-01missing quoting in Admin/Auth/Container/DB.php
#2064ClosedReq2004-08-05Oracle 8i support
#2080No FeedbackBug2004-08-07set handle, passwd and authUserId using MDB container
#2089ClosedReq2004-08-08Session cookie defaults not set
#2126No FeedbackBug2004-08-15Could not get the is_active,owner_user(group)_id properties using SearchUsers()
#2127ClosedReq2004-08-15getAuthUserId() method modification to get not the array but real auth_user_id
#2206ClosedBug2004-08-24Admin-Perm-Cont.-DB-Complex GETGROUPS does not report multiple subgroups
#2208No FeedbackBug2004-08-24add- & updateuser (Admin & Cont Auth) does not set owner_user_id nor group_id !
#2213ClosedBug2004-08-25LiveUser_Admin_Auth_Container_DB::removeUser() not using authTableCols w/patch
#2214ClosedBug2004-08-25LiveUser_Admin_Perm_Container_DB_Simple::removeUser() violates constraints
#2215BogusBug2004-08-25Date format should be choosable to solve database dependency issues
#2231ClosedBug2004-08-26Example 3 fails due to missing table
#2427ClosedBug2004-10-01Typo in DB_Medium.php?
#2431ClosedBug2004-10-01Bug in examples?
#2443ClosedBug2004-10-04AddUser error when using DB-container
#2447ClosedBug2004-10-04getRights in Admin/perm/DB_simple far too complex
#2452ClosedBug2004-10-04Admin/Perm/DB_Medium getGroups method broken
#2456ClosedBug2004-10-05LiveUser/Admin/Auth/Container/MDB2.php line 222
#2490ClosedBug2004-10-11Patch for changes I had to make to get 0.13.1 working
#2491ClosedBug2004-10-11LiveUser::(factory/singleton/init) $remember param does nothing
#2492ClosedBug2004-10-11LiveUser::_storeCookiePasswdId() fails on is_writable
#2493ClosedBug2004-10-11LiveUser::CryptRC4Factory() returns false upon loading the class
#2525BogusBug2004-10-14LiveUser_Admin_Auth_Container_DB::getUsers() doesn't work with simple filters
#2527ClosedBug2004-10-14Pear_Error in Admin
#2528ClosedBug2004-10-14LiverUser::Factory calls PEAR::isError
#2538ClosedBug2004-10-15tryLogin() from init() does not return usefull error
#2568ClosedBug2004-10-19LiveUser_Admin::setAdminAuthContainer() returns true on failure
#2614ClosedBug2004-10-25getGroups handling 'where_is_active' option
#2615BogusBug2004-10-25Custom Field
#2632No FeedbackReq2004-10-27Container for LiveUser
#2634ClosedBug2004-10-27LiveUser_admin::raiseError() is broken
#2635ClosedBug2004-10-27Undefined index in LiveUser_Admin_Perm_Container_MDB2_Complex::getGroups()
#2672ClosedBug2004-11-02wrong options var name in LiveUser::set/getOption()
#2678ClosedReq2004-11-03Seperate redirect URI for idle/expiration
#2692ClosedBug2004-11-04Error in Examples README
#2713ClosedBug2004-11-07LiveUser_Admin_Perm_Container_MDB_Medium throws error when optional fields used
#2714ClosedBug2004-11-07MDB_Complex Perm Container typo error
#2729BogusBug2004-11-10Wrong login credentials break the page posted to.
#2808ClosedReq2004-11-22SQLite Support
#2922ClosedBug2004-12-08revokeGroupRight() from removeRight() is incorrectly called
#2937ClosedBug2004-12-09Functioncall fileExits instead of fileExists
#2938ClosedBug2004-12-09Too less arguments in function LiveUser_Auth_PEARAuth(&$connectOptions)
#2956ClosedBug2004-12-13In example3 and example4: Table not found
#3135ClosedBug2005-01-08Bug in example1 concerning the logout
#3207ClosedBug2005-01-14auth-unfreeze-problem without perm container
#3220Wont fixReq2005-01-17httpvarBasedLogin removed
#3221DuplicateBug2005-01-17unfreeze not get an session freezed without a perm container
#3246ClosedBug2005-01-19wrong DB table names in code
#3269ClosedBug2005-01-22session_regenerate_id() is run on every page request when regenid is true
#3275ClosedReq2005-01-23Please add event 'onFailedLogin'
#3276ClosedBug2005-01-23Conflict with events onLogout/postLogout and onIdled/onExpired
#3813ClosedBug2005-03-14LiveUser_Admin::adduser() allows duplicate handles
#3884BogusBug2005-03-19some example doesn't work
#3899ClosedBug2005-03-21Typo in errormessage
#3964ClosedBug2005-03-25Example 4: DB Error: no such field
#3992No FeedbackBug2005-03-29RememberMe feature doesn't work
#4284ClosedReq2005-05-05Singleton reference within classes
#4311BogusBug2005-05-10DB schema doesn't allow groups to have multiple rights
#4322ClosedReq2005-05-10Allow for longer constant definition names
#4396BogusBug2005-05-20complex->readUserRights returning an incorrect array
#4439BogusBug2005-05-26Due to MDB2 BC break, installer doesn't work
#4545Wont fixReq2005-06-07I would like to be able to count user logins.
#4591BogusBug2005-06-14wrong schema filenames in sql/install.php
#4593ClosedBug2005-06-14pgsql: troubles on creating db-indexes (sql/install.php)
#4600ClosedReq2005-06-15control database - created or not
#4797ClosedBug2005-07-12Parse error in c:\Programme\PHP\pear\LiveUser\Auth\PEARAuth.php on 136
#4798BogusBug2005-07-12Feature not supported by the container: _readUserData
#4843ClosedBug2005-07-15Notice appears during first login of a new user.
#4875ClosedBug2005-07-21LDAP-Auth with PEARAuth not working
#4898ClosedBug2005-07-23custom field and logout weird behaviour
#4928ClosedBug2005-07-26double logout required before really logged out
#4981ClosedBug2005-08-03Missing arguments in LiveUser.php $this->_stack->push()
#5110ClosedBug2005-08-16getProperty() issue
#5242ClosedBug2005-08-30PEARAuth container illegal call to login()
#5283ClosedBug2005-09-02Pear Error getMessage property/method error
#5351BogusBug2005-09-09Impossible to create the database structure
#5361BogusBug2005-09-11path error found in LiveUser::authFactory($conf['authContainers'][0], 'foo');
#5526ClosedBug2005-09-26init failed error after modifying code
#5544SuspendedReq2005-09-28Use seperated session handler instead of $_SESSION
#5564ClosedReq2005-09-29groups default to inactive
#5668ClosedBug2005-10-12Singleton apidoc problem & change request
#5669ClosedReq2005-10-12new singleton could preserve BC
#5905ClosedBug2005-11-09LiveUser::singleton() doesn't return object
#6215ClosedReq2005-12-10Differentiate autologin OR remember login data
#6278SuspendedReq2005-12-18add possibility to store remember me data by user defined methods
#6349BogusBug2005-12-26error fopen(Auth_XML.xml):
#6374ClosedBug2005-12-30No rights for a user if the user only has inherited rights
#6417No FeedbackBug2006-01-05Incorrect getRight result with field param `right_level`
#6500ClosedBug2006-01-16Incorrect getRight result
#6517ClosedReq2006-01-18$lu->getproperty('allgroups')
#6533BogusBug2006-01-19example 1 isn't working
#6551ClosedBug2006-01-22Secret key in conf.php not taken into account
#6612ClosedBug2006-01-28UpdateProperty doesn't update the session
#6780ClosedReqCVS2006-02-14Minor adjustments for PDO
#6825BogusReq0.16.82006-02-17wanted new container for information store
#6939SuspendedBug0.16.92006-02-26parsing errors on Cache.php
#6968ClosedBug0.16.102006-03-01LiveUser_Auth_PEARAuth error
#7195ClosedBug0.16.102006-03-24PDO quoteSmart
#7262ClosedBug0.16.102006-03-30PDO: Warnings on wrong login credentials
#7304ClosedReq0.16.102006-04-05Function loadClass calls __autoload indirectly
#7314Wont fixReq0.16.102006-04-05RegExp before testing all auth-containers
#7336BogusBug0.16.102006-04-07Inactive Account Logins
#7475ClosedBug0.16.112006-04-24checking PDO::fetch() result as in Bug #7262
#7564ClosedBug0.3.82006-05-05debug => false in conf doesn't work when adding a new application
#7704ClosedBug0.16.112006-05-23demodata.php: 'create' option not declared
#7706ClosedBug0.16.112006-05-23Wrong var in Auth/PDO.php
#7778FeedbackReqCVS2006-06-01add possibility to check supported encryption mode
#7781ClosedReqCVS2006-06-01add possibility for handle aliasing
#7935BogusReq0.16.112006-06-18Public method to get auth container name
#8212ClosedBug0.16.112006-07-13Problem with PDO
#8339No FeedbackBug0.16.112006-08-01Disconnect Fails
#8360ClosedBug0.16.112006-08-04PostgreSQL tables missing PKs
#8522ClosedReq0.16.112006-08-20Incorrect handling of right_level merge from multiple groups
#9290FeedbackReq0.16.122006-11-09onIdled, postIdled, onExpired, postExpired
#9418ClosedBug0.16.122006-11-22Initialization for example 5 wrong
#9517ClosedBug0.16.122006-12-01Config Parameter permContainer=>storage=>PDO=>prefix doesn't work
#9575ClosedBug0.16.122006-12-07Example trips over MySQL boolean/int
#9581ClosedReqCVS2006-12-08Add support for session.cookie_httponly
#10711BogusBug0.16.122007-04-13prefix not working in MDB2
#10712DuplicateBug0.16.122007-04-13prefix not working in MDB2
#10746BogusBug0.16.122007-04-16when is_active is 0 - user can still log in
#13014ClosedBug0.16.132008-01-31PHP Warning on setcookie()
#13154ClosedBug0.16.132008-02-19Example 4:schema validation error
#13391ClosedBug0.16.132008-03-14example 5 - MDB2_Schema Error in demodata.xml
#13541OpenReqCVS2008-03-30Move the XML Container from XML_Tree to XML_Serializer
#13650ClosedBugCVS2008-04-11Examples (demodata script) problem
#14119OpenBug0.16.132008-06-10liveuser->login does not return false and script stops executing
#14954ClosedDoc0.16.132008-11-04mention ACL in the description/documention
#15126ClosedBug2008-11-22Assigning the return value of new by reference is deprecated
#15127ClosedBugCVS2008-11-22Parse error: syntax error, unexpected T_RETURN in ./LiveUser/Perm/Storage/Cache
#15270OpenReqCVS2008-12-07Actually implement storage for LiveUser_Perm_Storage_Cache
#16884OpenBug0.16.132009-12-07RC4 decryptPW uses wrong param
#16885No FeedbackBug0.16.132009-12-07Secret not being filled for RC4 decrypt
#17723ClosedBugSVN2010-08-17Patch: Avoid ereg in favor of preg_match
#19906OpenDocUnknown2013-04-17Documentation broken links