diff options
author | Dan Williams <dcbw@redhat.com> | 2007-10-19 04:55:05 +0000 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2007-10-19 04:55:05 +0000 |
commit | 42a732d9b921858544004f13fe7054fd1393a468 (patch) | |
tree | 7ffa7b19d3529beb3f832e209a741b9c9cb6c0e3 /include | |
parent | c2f361392fe98948bd6a12f89648ca6c445260c1 (diff) | |
download | NetworkManager-42a732d9b921858544004f13fe7054fd1393a468.tar.gz |
2007-10-19 Dan Williams <dcbw@redhat.com>
Split the GetSecrets() call off to a separate D-Bus interface so that it
can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
should be able to call GetSecrets().
* include/NetworkManager.h
- Define the connection secrets D-Bus interface
* src/vpn-manager/nm-vpn-connection.c
- (clear_need_auth): get the right proxy object for the connection
secrets interface
- (get_connection_secrets): use the connection secrets proxy; send
empty hints in get secrets request
* src/nm-activation-request.c
- (nm_act_request_request_connection_secrets): use the connection
secrets proxy; send empty hints in get secrets request
* src/nm-manager.c
src/nm-manager.h
- (connection_get_settings_cb): set the connection secrets proxy on
the connection object too
- (internal_new_connection_cb): create the connection secrets proxy
* introspection/nm-settings-connection.xml
- Define Connection.Secrets interface and move GetSecrets there
- Add a 'hints' argument to GetSecrets
* libnm-glib/nm-settings.c
libnm-glib/nm-settings.h
- (impl_connection_settings_get_secrets): add 'hints' argument
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2989 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'include')
-rw-r--r-- | include/NetworkManager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/NetworkManager.h b/include/NetworkManager.h index 4958e91deb..92cc41665b 100644 --- a/include/NetworkManager.h +++ b/include/NetworkManager.h @@ -43,6 +43,7 @@ #define NM_DBUS_IFACE_SETTINGS_CONNECTION "org.freedesktop.NetworkManagerSettings.Connection" #define NM_DBUS_PATH_SETTINGS_CONNECTION "/org/freedesktop/NetworkManagerSettings/Connection" +#define NM_DBUS_IFACE_SETTINGS_CONNECTION_SECRETS "org.freedesktop.NetworkManagerSettings.Connection.Secrets" #define NMI_DBUS_USER_KEY_CANCELED_ERROR "org.freedesktop.NetworkManagerInfo.CanceledError" |