[Fusionforge-commits] r12747 - in trunk/src: common/include plugins/authbuiltin/common plugins/ldapextauth/include

Roland Mas lolando at fusionforge.org
Mon Mar 14 17:46:57 CET 2011


Author: lolando
Date: 2011-03-14 17:46:57 +0100 (Mon, 14 Mar 2011)
New Revision: 12747

Modified:
   trunk/src/common/include/AuthPlugin.class.php
   trunk/src/plugins/authbuiltin/common/AuthBuiltinPlugin.class.php
   trunk/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php
Log:
Renamed class to avoid conflicts

Modified: trunk/src/common/include/AuthPlugin.class.php
===================================================================
--- trunk/src/common/include/AuthPlugin.class.php	2011-03-14 16:46:42 UTC (rev 12746)
+++ trunk/src/common/include/AuthPlugin.class.php	2011-03-14 16:46:57 UTC (rev 12747)
@@ -26,12 +26,12 @@
 define('FORGE_AUTH_AUTHORITATIVE_REJECT', 2);
 define('FORGE_AUTH_NOT_AUTHORITATIVE', 3);
 
-abstract class AuthPlugin extends Plugin {
+abstract class ForgeAuthPlugin extends Plugin {
 	/**
-	 * AuthPlugin() - constructor
+	 * ForgeAuthPlugin() - constructor
 	 *
 	 */
-	function AuthPlugin() {
+	function ForgeAuthPlugin() {
 		$this->Plugin();
 		// Common hooks that can be enabled per plugin:
 		// check_auth_session - is there a valid session?

Modified: trunk/src/plugins/authbuiltin/common/AuthBuiltinPlugin.class.php
===================================================================
--- trunk/src/plugins/authbuiltin/common/AuthBuiltinPlugin.class.php	2011-03-14 16:46:42 UTC (rev 12746)
+++ trunk/src/plugins/authbuiltin/common/AuthBuiltinPlugin.class.php	2011-03-14 16:46:57 UTC (rev 12747)
@@ -22,13 +22,13 @@
  * USA
  */
 
-class AuthBuiltinPlugin extends AuthPlugin {
+class AuthBuiltinPlugin extends ForgeAuthPlugin {
 	/**
 	 * AuthBuiltinPlugin() - constructor
 	 *
 	 */	
 	function AuthBuiltinPlugin() {
-		$this->AuthPlugin();
+		$this->ForgeAuthPlugin();
 
 		$this->name = 'authbuiltin';
 		$this->text = 'Built-in authentication';

Modified: trunk/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php
===================================================================
--- trunk/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php	2011-03-14 16:46:42 UTC (rev 12746)
+++ trunk/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php	2011-03-14 16:46:57 UTC (rev 12747)
@@ -28,7 +28,7 @@
 require_once $GLOBALS['gfcommon'].'include/User.class.php';
 // require_once $GLOBALS['gfconfig'].'plugins/ldapextauth/mapping.php' ;
 
-class LdapextauthPlugin extends AuthPlugin {
+class LdapextauthPlugin extends ForgeAuthPlugin {
 	protected $saved_login;
 	protected $saved_password;
 	protected $saved_user;
@@ -36,7 +36,7 @@
 
 	function LdapextauthPlugin () {
 		global $gfconfig;
-		$this->Plugin() ;
+		$this->ForgeAuthPlugin() ;
 		$this->name = "ldapextauth";
 		$this->text = "LDAP authentication";
 




More information about the Fusionforge-commits mailing list