vaultmanager/modules/VaultManagerAuth.py
def find_auth_methods_to_tune(self):
        """
        Identify auth methods where a tuning is needed
        """
        self.logger.debug("Tuning auth methods")
        for distant_auth in self.distant_auth_methods:
            for local_auth in self.local_auth_methods:
                if distant_auth == local_auth:
                    distant_tuning_hash = distant_auth.get_tuning_hash()
                    local_tuning_hash = local_auth.get_tuning_hash()
                    self.logger.debug("Hashs for %s/" % distant_auth.path)
                    self.logger.debug("Local: " + local_tuning_hash)
                    self.logger.debug("Distant: " + distant_tuning_hash)
                    if distant_tuning_hash != local_tuning_hash:
                        self.logger.info("The auth method " + local_auth.path +
                                         " will be tuned")
                        self.tune_auth_method(local_auth, distant_auth)

        Identify auth methods where a tuning is needed
        
Identify auth methods where a tuning is needed
Identify auth methods where a tuning is needed
def find_auth_methods_to_tune(self):
        self.logger.debug("Tuning auth methods")
        for distant_auth in self.distant_auth_methods:
            for local_auth in self.local_auth_methods:
                if distant_auth == local_auth:
                    distant_tuning_hash = distant_auth.get_tuning_hash()
                    local_tuning_hash = local_auth.get_tuning_hash()
                    self.logger.debug("Hashs for %s/" % distant_auth.path)
                    self.logger.debug("Local: " + local_tuning_hash)
                    self.logger.debug("Distant: " + distant_tuning_hash)
                    if distant_tuning_hash != local_tuning_hash:
                        self.logger.info("The auth method " + local_auth.path +
                                         " will be tuned")
                        self.tune_auth_method(local_auth, distant_auth)
def find_auth_methods_to_tune ( self ) : self . logger . debug ( "Tuning auth methods" ) for distant_auth in self . distant_auth_methods : for local_auth in self . local_auth_methods : if distant_auth == local_auth : distant_tuning_hash = distant_auth . get_tuning_hash ( ) local_tuning_hash = local_auth . get_tuning_hash ( ) self . logger . debug ( "Hashs for %s/" % distant_auth . path ) self . logger . debug ( "Local: " + local_tuning_hash ) self . logger . debug ( "Distant: " + distant_tuning_hash ) if distant_tuning_hash != local_tuning_hash : self . logger . info ( "The auth method " + local_auth . path + " will be tuned" ) self . tune_auth_method ( local_auth , distant_auth )
Identify auth methods where a tuning is needed
Identify auth methods where a tuning is needed
"""
        Identify auth methods where a tuning is needed
        """
self