1
0
Commit Graph

15 Commits

Author SHA1 Message Date
Bharat Mediratta
9f7907f9cb Add support for a username/password when calling ldap_bind() 2010-07-20 09:33:04 -07:00
Bharat Mediratta
ac28b85c5f Merge branch 'master' of github.com:gallery/gallery3-contrib 2010-03-03 10:16:22 -08:00
Bharat Mediratta
5f65d082f9 Update the copyright to 2010. 2010-03-03 10:16:08 -08:00
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
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
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
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
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