2007-09-26 Dan Williams <dcbw@redhat.com>

* include/NetworkManagerVPN.h
		- Add a NEED_AUTH state

	* src/vpn-manager/nm-vpn-connection.c
		- Implement the NEED_AUTH state.  First ask the VPN service plugin if
			the connection needs secrets, and if so, then ask the settings
			service to fill in the secrets.  Then start the connection.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2895 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams
2007-09-27 02:28:54 +00:00
parent 36bb36a119
commit 00b8633a3e
3 changed files with 290 additions and 32 deletions

View File

@@ -83,6 +83,7 @@ typedef enum NMVPNConnectionState
{
NM_VPN_CONNECTION_STATE_UNKNOWN = 0,
NM_VPN_CONNECTION_STATE_PREPARE,
NM_VPN_CONNECTION_STATE_NEED_AUTH,
NM_VPN_CONNECTION_STATE_CONNECT,
NM_VPN_CONNECTION_STATE_IP_CONFIG_GET,
NM_VPN_CONNECTION_STATE_ACTIVATED,