def _ugm(self): plugin_cache = get_plugin_cache(self) ugm = plugin_cache.get() if ugm is not VALUE_NOT_CACHED: return ugm ucfg = ILDAPUsersConfig(self) gcfg = ILDAPGroupsConfig(self) ugm = Ugm(props=self._ldap_props, ucfg=ucfg, gcfg=gcfg, rcfg=None) plugin_cache.set(ugm) return ugm