Commit Graph

66 Commits

Author SHA1 Message Date
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 4ff2d37b10 Reformatted for 80 character width, and clarified the username/nickname attribute difference 2009-11-17 13:00:45 -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