NetworkManager/system-settings/plugins
Dan Williams b135fa3265 system-settings: add helper for updating plugin connections
nm_connection_replace_settings() replaces the connection's settings
but doesn't allow interception of the new settings.  Plugins would then
send out the update signal, but secrets are scrubbed out of them to
ensure secrets aren't leaked out into D-Bus signals.

With NM 0.8 the system settings service was integrated into NM and
thus nm_connection_clear_secrets() acts directly on the system
settings plugins' NMConnection objects.  So when NM cleared secrets
(for example after determining that they might be bad in a device's
stage2 handler), we completely lost the secrets forever.

Adding this function allows the system settings service to hook into
the connection updates when the plugin connection's backing storage
(like config files or whatever) changes and cache the secrets for
use in NMSettingsConnectionInterface get_secrets() requestes.
2009-11-16 15:51:40 -08:00
..
ifcfg-rh system-settings: add helper for updating plugin connections 2009-11-16 15:51:40 -08:00
ifcfg-suse system-settings: add helper for updating plugin connections 2009-11-16 15:51:40 -08:00
ifupdown ifupdown: unmanage devices with "mapping" stanzas - lp:413622 bgo:591864 2009-10-05 19:53:54 +02:00
keyfile system-settings: add helper for updating plugin connections 2009-11-16 15:51:40 -08:00
Makefile.am 2008-11-25 Dan Williams <dcbw@redhat.com> 2008-11-25 22:42:21 +00:00