Bharat Mediratta
9ba2306157
Properly return groups for the guest user.
2010-02-19 11:26:26 -08:00
Bharat Mediratta
f54b4b0579
IdentityProvider::create_user() now requires an email address as well.
2010-01-25 22:26:57 -08:00
Tim Almdal
68b290be51
Change the check_environment method in the module helper and the module installers to can_activate to reflect that it is doing more than just checking the environment.
2010-01-22 12:30:53 -08:00
Tim Almdal
b0270cf722
Refactor the identity provider installation in to a common helper method (change_provider) with an initialization callback.
2010-01-22 12:09:46 -08:00
Tim Almdal
b8bce53b8f
Use the admin module to install and switch to the LDAP identity provider.
2010-01-22 09:42:41 -08:00
Bharat Mediratta
3eb4e6920d
Implement Ldap_User::groups() to match K24 APIs.
2010-01-11 11:03:34 -08:00
Tim Almdal
1779518e73
Add a full_name to the ldap provider
2009-11-01 10:05:22 -08:00
Tim Almdal
3d82eb19f2
delete the unused ldap.php config file and rename the gallery.ldif to gallery_sample.ldif to clearly indicate that it is not required and only a sample.
2009-10-31 14:34:33 -07:00
Tim Almdal
9963d59e3b
Ignore any exceptions or errors on the ldap_bind... assume they are password related and just return false as an invalid password. Fixes ticket #864 .
2009-10-31 14:31:18 -07:00
Tim Almdal
7915ba2de9
1) Added support for the email attribute on the Ldap_User object (references the ldap mail attribute)
...
2) Added support for the avatar_url method.
3) Added a config parameter to the IdentityProvider to specifiy the configuration. This allows the ldap installer to instantiate the ldap Identity provider to use in the install and uninstall methods.
2009-10-31 14:04:07 -07:00
Bharat Mediratta
ef715a9261
Support the "url" param on Ldap_User by returning a null value for now.
2009-10-30 15:55:44 -07:00
Tim Almdal
73bca7bfdb
Implement the new add_user_to_group and remove_user_from_group api method calls. For the ldap provider just throw an Invalid Operation exception.
2009-10-29 19:17:34 -07:00
Tim Almdal
7a3fd9d2ed
Add a flag in the module.info (no_module_admin) to indicate that this module shouldn't be managed by the default module administration screen. This module will always be locked on that screen.
2009-10-27 07:57:21 -07:00
Tim Almdal
9ea73e5eff
Change the name of the get adminsitrator function to admin_user (it was easier to change it here than everywhere else."
2009-10-27 07:38:39 -07:00
Tim Almdal
93082a12f1
Add an get_admin_user api call and use it to determine the admin user instead of calling lookup by name with a hardcoded name.
2009-10-27 07:16:50 -07:00
Tim Almdal
0b3bb9a643
Forgot to check this in, which will help Bharat's review.
2009-10-25 10:47:08 -07:00
Tim Almdal
952322cd95
If the user name is "admin", then use the first user name in the 'admins' driver parameter.
2009-10-23 06:17:21 -07:00
Tim Almdal
57f331250d
Change the name of identity library from Identity to IdentityProvider. Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class
2009-10-22 13:08:22 -07:00
Tim Almdal
5b62f010cc
Convert methods to instance methods instead of static to be consistent with the Identity interface. Clean up a copy/paste error to get the auhtorized list of groups.
2009-10-21 16:06:29 -07:00
Tim Almdal
337265578b
When activating the ldap identity provider, change the ownership of all items to the first defined admin user. Also remove unused files and debugging statements.
2009-10-21 08:25:43 -07:00
Tim Almdal
2ece7e92b2
Add lookup_group Identity provider API.
2009-10-20 17:20:22 -07:00
Tim Almdal
bd7f9e427f
Add a groups api method on the Identity provider
2009-10-20 17:02:03 -07:00
Tim Almdal
7a53eeb3f4
Initial implementation of a Ldap identity provider
2009-10-20 16:34:03 -07:00
Tim Almdal
1f6c84ee0f
Include the code to check the code by binding
2009-10-19 14:11:36 -07:00
Tim Almdal
0963c99eb8
2nd iteration of the ldap identity manager provider
2009-10-19 13:46:04 -07:00
Bharat Mediratta
46659e09e7
Modules that provides a UserGroupStorage driver for LDAP. To use it,
...
you have to manually update the config/ldap.php file, then go to Admin
> Settings > LDAP and activate it.
Very alpha quality!
2009-10-04 12:36:06 -07:00