Craig Andrews
6b538cd9b3
Fix some regressions caused by refactor of LDAP plugin
2010-03-23 21:50:31 -04:00
Craig Andrews
eb563937df
Need to pass the password parameter to checkPassword
2010-03-22 16:04:24 -04:00
Craig Andrews
295e05ea39
Refactor common parts of LdapAuthorization and LdapAuthentication plugins into a separate class
...
LdapAuthorization should get a performance improvement as LDAP schema caching is now used
2010-03-22 14:17:58 -04:00
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
3bfe3345df
Use common_nicknamize() in better places.
2010-03-01 11:56:07 -05:00
Craig Andrews
74bcc6929d
Show messaging on the login and registration forms informing users that they may use their LDAP credentials
2010-02-26 15:51:25 -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
61d4709eb8
Pass username and nickname to autoregister so auth plugins can set the nickname correct when creating a new user.
...
Continues fixing what Eric Helgeson pointed out in 01eb4e8f00
2010-01-29 20:43:16 -05:00
Craig Andrews
a27aef9206
Add nickname suggestion capability for use during autoregistration.
2010-01-14 19:52:11 -05:00
Craig Andrews
c758b1b1d4
Add version information to a bunch of plugins
2010-01-09 19:04:53 -05:00
Craig Andrews
0f6ccee6d3
remove invalid calls to AuthenticationPlugin::onAutoload
2010-01-06 00:22:19 -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
a43c310fbc
Cache the LDAP schema in memcache (if memcache is available)
2009-12-19 15:10:57 -05:00
Eric Helgeson
4002c18065
Allow caching of ldap schema, greatly improves performance.
2009-12-18 18:27:45 -06:00
Eric Helgeson
490238faf6
search->count() doesnt seem to be cached, so we will
2009-12-18 18:27:15 -06:00
Eric Helgeson
f70c3b6ae9
Limit search to only the basedn we're looking in
2009-12-18 18:26:41 -06: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
297f320e6f
attributes['username'] is required
2009-11-18 15:40:27 -05:00
Craig Andrews
d07df8a796
Added Authorization plugin
...
Added LDAPAuthorization plugin
2009-11-18 14:19:43 -05:00
Craig Andrews
1d6bacc681
Improved parameter checking
2009-11-18 12:57:37 -05:00
Craig Andrews
7dfce35bea
(Theoretically) allow users to change their passwords.
...
I cannot test this... but I hope it works :-)
2009-11-17 23:22:19 -05:00
Craig Andrews
ed690615de
Added a User_username table that links the external username with a StatusNet user_id
...
Added EmailAuthenticationPlugin
Added ReverseUsernameAuthenticationPlugin
Changed the StartChangePassword and EndChangePassword events to take a user, instead of a nickname
User::allowed_nickname was declared non-static, but used as if it was static, so I made the declaration static
2009-11-12 20:12:36 -05:00
Craig Andrews
f6f5b5654a
Don't use common_config anymore
2009-11-11 15:08:17 -05:00
Craig Andrews
b43866d9aa
Correct stupid spelling errors
2009-11-11 14:04:44 -05:00
Craig Andrews
f600fa3b1a
Rename the plugins, as I'm separating out Authn, Authz, and user information into separate plugins
2009-11-11 12:16:58 -05:00