Commit Graph

59 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 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