Jeffery To
3f696ff0ed
ldap_get_connection() to return null when passed a config with bad user/pw.
...
This mainly affects login; before if the user enters a valid username
but invalid password, ldap_get_connection() throws an
LDAP_INVALID_CREDENTIALS error. Now the user sees the regular
"Incorrect username of password" error message.
2010-03-08 13:14:41 -05:00
Craig Andrews
489bd935eb
Make LDAP connection error fatal - there really is no way to recover from that.
2010-02-24 23:20:34 -05:00
Craig Andrews
c758b1b1d4
Add version information to a bunch of plugins
2010-01-09 19:04:53 -05:00
Craig Andrews
208bab32b7
Remove erroneous call to parent::onInitializePlugin()
2010-01-06 16:48:52 -05:00
Craig Andrews
9e2e0605ed
Move Authorization and Authentication plugin structures into core, instead of as plugins.
...
This move makes sense as you can addPlugin('Authentication') for example - these are abstract classes designed to be implemented, not used directly.
2010-01-05 13:56:22 -05:00
Craig Andrews
a00141a180
You cannot use static that way - using another approach to save reuse the default ldap connection
2009-11-18 16:58:06 -05:00
Craig Andrews
6d69d89cfe
Reuse ldap connections for the default config
2009-11-18 16:46:16 -05:00
Craig Andrews
6a505da981
do not required that roles_to_groups be specified
2009-11-18 16:41:38 -05:00
Craig Andrews
b417e4d24f
rename isMemberOfGroup to be more consistent with other LDAP functions
2009-11-18 15:53:22 -05:00
Craig Andrews
297f320e6f
attributes['username'] is required
2009-11-18 15:40:27 -05:00
Craig Andrews
9ed70a5b11
Add some functions that were previously undefined
2009-11-18 14:49:42 -05:00
Craig Andrews
44c7813ac1
Add login_group configuration option so only members of a certain group can login
2009-11-18 14:35:44 -05:00
Craig Andrews
d07df8a796
Added Authorization plugin
...
Added LDAPAuthorization plugin
2009-11-18 14:19:43 -05:00