Make this a GObject and specifically a SoupSessionFeature. Add an
authorDan Winship <danw@src.gnome.org>
Tue, 8 Apr 2008 22:13:03 +0000 (22:13 +0000)
committerDan Winship <danw@src.gnome.org>
Tue, 8 Apr 2008 22:13:03 +0000 (22:13 +0000)
commite1c6bf7690fc035e0a0560ebc6f3030eee6b3a8d
treedad9aeeb321a20266681530452f6a51efbcbc803
parent700b6a340c5142255b2189fb78580ca2dc96a1ae
Make this a GObject and specifically a SoupSessionFeature. Add an

* libsoup/soup-auth-manager.c: Make this a GObject and
specifically a SoupSessionFeature. Add an "authenticate" signal,
and emit that rather than explicitly calling into the SoupSession
and telling it when to emit its own authenticate signal.

* libsoup/soup-auth-manager-ntlm.c: Make this a subclass of
SoupAuthManager, with NTLM support controllable via a property.

* libsoup/soup-session.c (soup_session_init): create an
auth_manager of type SOUP_TYPE_AUTH_MANAGER_NTLM, but defaulting
to USE_NTLM=FALSE. Connect to its "authenticate" signal, and call
soup_session_add_feature() on it.
(set_property, get_property): proxy the USE_NTLM property to the
auth manager.
(auth_manager_authenticate): signal handler for SoupAuthManager
"authenticate" signal. (Replaces soup_session_emit_authenticate(),
which is no longer needed)

svn path=/trunk/; revision=1134
ChangeLog
libsoup/soup-auth-manager-ntlm.c
libsoup/soup-auth-manager-ntlm.h
libsoup/soup-auth-manager.c
libsoup/soup-auth-manager.h
libsoup/soup-session-private.h
libsoup/soup-session.c