[icinga-checkins] icinga.org: icinga-web/next: Disabled credential Aggregator on login

git at icinga.org git at icinga.org
Wed Feb 20 15:33:16 CET 2013


Module: icinga-web
Branch: next
Commit: 82cd02be45aa18e4fdde5e3a21b2a1185aeed0a1
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=82cd02be45aa18e4fdde5e3a21b2a1185aeed0a1

Author: Markus Frosch <markus at lazyfrosch.de>
Date:   Thu Feb 14 16:24:57 2013 +0100

Disabled credential Aggregator on login

---

 .../AppKit/lib/auth/AppKitSecurityUser.class.php   |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/app/modules/AppKit/lib/auth/AppKitSecurityUser.class.php b/app/modules/AppKit/lib/auth/AppKitSecurityUser.class.php
index 09b0dc3..cc1800f 100644
--- a/app/modules/AppKit/lib/auth/AppKitSecurityUser.class.php
+++ b/app/modules/AppKit/lib/auth/AppKitSecurityUser.class.php
@@ -71,7 +71,8 @@ class AppKitSecurityUser extends AgaviRbacSecurityUser {
     /**
      * @var AppKit_Credential_AggregatorModel 
      */
-    private $credentialAggregator = null;
+    // disabled credentialAggregator due to slow performance
+    //private $credentialAggregator = null;
 
     /**
      * Initialize the user object
@@ -81,10 +82,13 @@ class AppKitSecurityUser extends AgaviRbacSecurityUser {
     public function initialize(AgaviContext $context, array $parameters = array()) {
         parent::initialize($context, $parameters);
         
+        
+        /* Disabled due to performance issues in big environments
         $this->credentialAggregator = $this->getContext()
                 ->getModel('Credential.Aggregator', 'AppKit');
         
         $this->credentialAggregator->getObjectIds();
+        */
     }
     
     /**





More information about the icinga-checkins mailing list