Commit Graph

11 Commits

Author SHA1 Message Date
Robin Appelman a1fbbd09ee add functions to get a list of all users or groups 2010-09-15 16:24:14 +00:00
Robin Appelman 3c1cdee910 use caching for user-group relations 2010-09-12 17:04:52 +02:00
Aldo "xoen" Giambelluca 11664f3153 Moved LDAP authentication into a plugin
Used the current plugin system to define `USER_OC_LDAP` class
that can be used as backend for OC_USER
2010-07-23 00:48:45 +02:00
Aldo "xoen" Giambelluca ccd362108e Cleaned up and added some documentation 2010-07-22 23:42:18 +02:00
Aldo "xoen" Giambelluca 68775a282d Created class `OC_USER_BACKEND` for general user managment
It's possible to use `OC_USER` as normal but the real stuff
is done by the `OC_USER::$_backend` class, setted using
`OC_USER::setBackend()` (this is done in inc/lib_user.php)
2010-07-21 17:53:51 +02:00
Aldo "xoen" Giambelluca 9fe46ef093 OC_USER now is an abstract class (OC_USER_ABSTRACT)
At start the choosen user manager is created
(e.g. OC_USER_DATABASE, OC_USER_LDAP)
and put into the global variable `$userManager`.

This is the variable to use instead of `OC_USER` class.

TODO: A better name than $userManager?
2010-07-19 21:33:29 +02:00
Aldo "xoen" Giambelluca 9c124a8dbf Reverted to self::$classType syntax and fixed the use of self in non-object 2010-07-19 18:52:49 +02:00
Aldo "xoen" Giambelluca 42d603c5b3 Minor style changes
* camelCase
  * spaces here and there
2010-07-15 21:41:28 +02:00
Aldo "xoen" Giambelluca 64fd3f7aea Fixed a cache-check in `OC_USER_Database::getGroupName()` and minor style changes
* Added spaces here and there
  * Using camelCase for same variable
2010-07-15 21:37:44 +02:00
Aldo "xoen" Giambelluca 7b84bf5f0e Minor style changes
* Using camelCase for `$classType` property
  * Using `self` keyword instead of class name
  * Added spaces here and there
2010-07-15 21:36:54 +02:00
fabian e4986c2d9f Support for mod_auth added 2010-07-15 14:09:22 +02:00