From eabd62b0e4a19a160a3432f78dde09de0787d9a7 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 10 Dec 2009 18:07:57 -0500 Subject: [PATCH] Add authenticate capability to Customsql, Ldap, and Passwd drivers also --- framework/Auth/lib/Horde/Auth/Customsql.php | 3 ++- framework/Auth/lib/Horde/Auth/Ldap.php | 3 ++- framework/Auth/lib/Horde/Auth/Passwd.php | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/framework/Auth/lib/Horde/Auth/Customsql.php b/framework/Auth/lib/Horde/Auth/Customsql.php index ca1ed8b99..1c558e721 100644 --- a/framework/Auth/lib/Horde/Auth/Customsql.php +++ b/framework/Auth/lib/Horde/Auth/Customsql.php @@ -51,7 +51,8 @@ class Horde_Auth_Customsql extends Horde_Auth_Sql 'list' => true, 'remove' => true, 'resetpassword' => true, - 'update' => true + 'update' => true, + 'authenticate' => true, ); /** diff --git a/framework/Auth/lib/Horde/Auth/Ldap.php b/framework/Auth/lib/Horde/Auth/Ldap.php index f6a23fe5b..acd10fea9 100644 --- a/framework/Auth/lib/Horde/Auth/Ldap.php +++ b/framework/Auth/lib/Horde/Auth/Ldap.php @@ -45,7 +45,8 @@ class Horde_Auth_Ldap extends Horde_Auth_Base 'add' => true, 'update' => true, 'remove' => true, - 'list' => true + 'list' => true, + 'authenticate' => true, ); /** diff --git a/framework/Auth/lib/Horde/Auth/Passwd.php b/framework/Auth/lib/Horde/Auth/Passwd.php index 14dca9f5f..6bd8aab20 100644 --- a/framework/Auth/lib/Horde/Auth/Passwd.php +++ b/framework/Auth/lib/Horde/Auth/Passwd.php @@ -42,7 +42,8 @@ class Horde_Auth_Passwd extends Horde_Auth_Base * @var array */ protected $_capabilities = array( - 'list' => true + 'list' => true, + 'authentication' => true, ); /** -- 2.11.0