Updated domain without a dash :(
[admin.git] / application / admin / main / login / helper / class_AdminLoginHelper.php
index eb67fa47a88508cdc66dd3e7fcc8ec550433597e..a70a6ac0536face19ae7979842ba811cb2e50b81 100644 (file)
  * The user shall be able to choose "Default login method" or similar to use his
  * own login method.
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Admin-Area Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -56,7 +56,7 @@ class AdminLoginHelper extends BaseLoginHelper implements HelpableLogin {
         * @throws      UserInstanceMissingException    If the user instance in registry
         *                                                                                      is missing or invalid
         */
-       public final static function createAdminLoginHelper (Requestable $requestInstance) {
+       public static final function createAdminLoginHelper (Requestable $requestInstance) {
                // Get a new instance first
                $helperInstance = new AdminLoginHelper();
 
@@ -85,7 +85,7 @@ class AdminLoginHelper extends BaseLoginHelper implements HelpableLogin {
         * @return      void
         */
        protected function setDefaultAuthMethod () {
-               $this->authMethod = $this->getConfigInstance()->readConfig('auth_method_class');
+               $this->authMethod = $this->getConfigInstance()->getConfigEntry('auth_method_class');
        }
 
        /**