Commit ad34da04b7d85a20afa27d784ffbbed85e5ba442
1 parent
8e4d7a53
fix for plugin-init.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5325 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
3 changed files
with
1 additions
and
19 deletions
plugins/ktstandard/ldap/activedirectoryauthenticationprovider.inc.php
| @@ -31,13 +31,7 @@ require_once(KT_LIB_DIR . '/authentication/Authenticator.inc'); | @@ -31,13 +31,7 @@ require_once(KT_LIB_DIR . '/authentication/Authenticator.inc'); | ||
| 31 | require_once("ldapbaseauthenticationprovider.inc.php"); | 31 | require_once("ldapbaseauthenticationprovider.inc.php"); |
| 32 | 32 | ||
| 33 | class KTActiveDirectoryAuthenticationProvider extends KTLDAPBaseAuthenticationProvider { | 33 | class KTActiveDirectoryAuthenticationProvider extends KTLDAPBaseAuthenticationProvider { |
| 34 | - var $sNamespace = "ktstandard.authentication.adprovider"; | ||
| 35 | - | ||
| 36 | - function KTActiveDirectoryAuthenticationProvider($sFilename = null) { | ||
| 37 | - $res = parent::KTPlugin($sFilename); | ||
| 38 | - $this->sFriendlyName = _kt('Microsoft Active Directory Authentication Provider'); | ||
| 39 | - return $res; | ||
| 40 | - } | 34 | + var $sNamespace = "ktstandard.authentication.adprovider"; |
| 41 | 35 | ||
| 42 | var $bGroupSource = true; | 36 | var $bGroupSource = true; |
| 43 | 37 |
plugins/ktstandard/ldap/ldapauthenticationprovider.inc.php
| @@ -34,12 +34,6 @@ require_once("ldapbaseauthenticationprovider.inc.php"); | @@ -34,12 +34,6 @@ require_once("ldapbaseauthenticationprovider.inc.php"); | ||
| 34 | class KTLDAPAuthenticationProvider extends KTLDAPBaseAuthenticationProvider { | 34 | class KTLDAPAuthenticationProvider extends KTLDAPBaseAuthenticationProvider { |
| 35 | var $sNamespace = "ktstandard.authentication.ldapprovider"; | 35 | var $sNamespace = "ktstandard.authentication.ldapprovider"; |
| 36 | 36 | ||
| 37 | - function KTLDAPAuthenticationProvider($sFilename = null) { | ||
| 38 | - $res = parent::KTPlugin($sFilename); | ||
| 39 | - $this->sFriendlyName = _kt('Generic LDAP Authentication Provider'); | ||
| 40 | - return $res; | ||
| 41 | - } | ||
| 42 | - | ||
| 43 | var $aAttributes = array ("cn", "uid", "givenname", "sn", "mail", "mobile"); | 37 | var $aAttributes = array ("cn", "uid", "givenname", "sn", "mail", "mobile"); |
| 44 | var $sAuthenticatorClass = "KTLDAPAuthenticator"; | 38 | var $sAuthenticatorClass = "KTLDAPAuthenticator"; |
| 45 | 39 |
plugins/ktstandard/ldap/ldapbaseauthenticationprovider.inc.php
| @@ -32,12 +32,6 @@ require_once(KT_LIB_DIR . '/authentication/Authenticator.inc'); | @@ -32,12 +32,6 @@ require_once(KT_LIB_DIR . '/authentication/Authenticator.inc'); | ||
| 32 | class KTLDAPBaseAuthenticationProvider extends KTAuthenticationProvider { | 32 | class KTLDAPBaseAuthenticationProvider extends KTAuthenticationProvider { |
| 33 | var $sName = "LDAP authentication provider"; | 33 | var $sName = "LDAP authentication provider"; |
| 34 | var $sNamespace = "ktstandard.authentication.ldapprovider"; | 34 | var $sNamespace = "ktstandard.authentication.ldapprovider"; |
| 35 | - | ||
| 36 | - function KTLDAPBaseAuthenticationProvider($sFilename = null) { | ||
| 37 | - $res = parent::KTPlugin($sFilename); | ||
| 38 | - $this->sFriendlyName = _kt('Base LDAP Authentication Provider'); | ||
| 39 | - return $res; | ||
| 40 | - } | ||
| 41 | 35 | ||
| 42 | var $aAttributes = array ("cn", "uid", "givenname", "sn", "mail", "mobile"); | 36 | var $aAttributes = array ("cn", "uid", "givenname", "sn", "mail", "mobile"); |
| 43 | 37 |