| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
attribute holding the username, 'modPass' allows to disable
password changing by the user.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* origin/auth_getUserData_improvements:
KISS - remove class constants for REQUIRE_GROUPS & IGNORE_GROUPS and replace with boolean values
use $requireGroups constants in auth classes; comments; code improvements
fix comment errors, sp. & grammar
code styling - add missing braces
Allow user info to be retrieved without groups
Restore correct public interface of getUserData() for authldap plugin
Conflicts:
inc/common.php
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some parts of dokuwiki (e.g. recent changes, old revisions) can
requests lots of user info (to provide editor names) without
requiring any group information.
This change also implements caching of user info by authmysql &
authpgsql plugins to avoid repeated querying of the DB to retrieve
the same user information.
|
| |
| |
| |
| |
| |
| |
| | |
plugin
The outer/public getUserData() implemented as a wrapper for the
previous fn which is now protected.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Moved the block closer to the variable use (indent clearer)
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
| |
As suggested by @selfthinker
|
|
|
| |
In Novell eDir the group search returns strings, not arrays. Added if-statement which determines if the result is an array or an string.
|
|
|
|
|
| |
The LDAP rebinding was still using the old blowfish encryption instead
of AES so rebinding failed.
|
| |
|
| |
|
|
|
|
|
|
| |
Do not pass timelimit and deref settings to ldap_search. These values
should be set globally via ldap_set_option() instead (as we do for
deref).
|
| |
|
|
|
|
|
|
|
| |
* makes proper use of plugin config
* adds a few first defaults, but the whole config metadata is still
missing
* proper PHP5 use and comments
|
|
|
|
|
| |
This does nothing currently but allows us adding certain things
to the base class later.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This merge fixes all conflicts but is otherwise untested and might break
funktionality in the auth system somewhere. It NEEDS MAJOR TESTING!
Some refactoring of the auth plugins is still needed:
* move to PHP5 style
* fix comments
* add plugin.info.txt
* janschumann/master:
Refactored auth system: All auth methods are now introduced as plugins.
Bugfix: auth types are now correcty added
Setup auth system from plugins
Added Auth-Plugin-Prototype to autoload
Load auth types from plugins in settings_authtype class
Added prototype for Auth-Plugins
added plugin type 'auth'
Conflicts:
inc/auth.php
inc/auth/pgsql.class.php
inc/init.php
inc/load.php
lib/plugins/auth.php
lib/plugins/authad/auth.php
lib/plugins/authldap/auth.php
lib/plugins/authmysql/auth.php
lib/plugins/authplain/auth.php
|
|
|