<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libsoup.git/libsoup/soup-auth-ntlm.h, branch 2.48.1</title>
<subtitle>gitlab.gnome.org: GNOME/libsoup.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libsoup.git/'/>
<entry>
<title>soup-auth-manager: split out connection handling</title>
<updated>2013-01-02T20:34:12+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@gnome.org</email>
</author>
<published>2012-12-12T09:19:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libsoup.git/commit/?id=586aef885f64352bbd3c1b9e68ae2020f33d5833'/>
<id>586aef885f64352bbd3c1b9e68ae2020f33d5833</id>
<content type='text'>
Add a new SoupConnectionAuth class to help with connection tracking,
and make SoupAuthNTLM a subclass of it. Allow a single SoupAuthNTLM to
carry state information about multiple connections.

Make SoupSession store the SoupConnection a SoupMessage is associated
with on the message, and use that from SoupConnectionAuth rather than
tracking sockets by hand like SoupAuthManager had previously done.
Remove the connection tracking in SoupAuthManager, since it is no
longer needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new SoupConnectionAuth class to help with connection tracking,
and make SoupAuthNTLM a subclass of it. Allow a single SoupAuthNTLM to
carry state information about multiple connections.

Make SoupSession store the SoupConnection a SoupMessage is associated
with on the message, and use that from SoupConnectionAuth rather than
tracking sockets by hand like SoupAuthManager had previously done.
Remove the connection tracking in SoupAuthManager, since it is no
longer needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reorganize NTLM authentication, fix ntlm_auth support</title>
<updated>2012-12-29T22:38:36+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@gnome.org</email>
</author>
<published>2012-12-11T10:10:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libsoup.git/commit/?id=9e90b875f77b58c3851d9c6ad5d0cdc052e22c17'/>
<id>9e90b875f77b58c3851d9c6ad5d0cdc052e22c17</id>
<content type='text'>
Move the auth-managery parts of SoupAuthManagerNTLM down into
SoupAuthManager, and the NTLMy parts into SoupAuthNTLM (in preparation
for supporting other kinds of connection-based auth such as
Negotiate).

The reorganization also makes it possible to use SoupAuthNTLM to
implement a mock version of /usr/bin/ntlm_auth, so we can extend
ntlm-test to test both the built-in-NTLM and external-NTLM codepaths.
Doing this reveals that, AFAICT, the external codepath did not
previously actually work, because it mis-used
G_SPAWN_FILE_AND_ARGV_ZERO and so ended up passing incorrect arguments
to /usr/bin/ntlm_auth.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the auth-managery parts of SoupAuthManagerNTLM down into
SoupAuthManager, and the NTLMy parts into SoupAuthNTLM (in preparation
for supporting other kinds of connection-based auth such as
Negotiate).

The reorganization also makes it possible to use SoupAuthNTLM to
implement a mock version of /usr/bin/ntlm_auth, so we can extend
ntlm-test to test both the built-in-NTLM and external-NTLM codepaths.
Doing this reveals that, AFAICT, the external codepath did not
previously actually work, because it mis-used
G_SPAWN_FILE_AND_ARGV_ZERO and so ended up passing incorrect arguments
to /usr/bin/ntlm_auth.
</pre>
</div>
</content>
</entry>
<entry>
<title>SoupSession, SoupAuthManagerNTLM: Use subfeatures for NTLM auth too</title>
<updated>2010-12-09T11:04:51+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@gnome.org</email>
</author>
<published>2010-06-07T21:03:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libsoup.git/commit/?id=815066543f0b34cffacac60c46e22dd6705dc76d'/>
<id>815066543f0b34cffacac60c46e22dd6705dc76d</id>
<content type='text'>
Deprecate SoupSession:use-ntlm in favor of using
soup_session_add_feature_by_type() with SOUP_TYPE_AUTH_NTLM.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deprecate SoupSession:use-ntlm in favor of using
soup_session_add_feature_by_type() with SOUP_TYPE_AUTH_NTLM.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge libsoup-2.4 branch to trunk</title>
<updated>2008-01-15T17:40:47+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@src.gnome.org</email>
</author>
<published>2008-01-15T17:40:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libsoup.git/commit/?id=96d28e7f42ead1ddde6bccca9fba6831710a531f'/>
<id>96d28e7f42ead1ddde6bccca9fba6831710a531f</id>
<content type='text'>
	* Merge libsoup-2.4 branch to trunk

svn path=/trunk/; revision=1041
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* Merge libsoup-2.4 branch to trunk

svn path=/trunk/; revision=1041
</pre>
</div>
</content>
</entry>
<entry>
<title>Replaces the three previous soup_connection_new* functions and uses</title>
<updated>2003-09-17T18:57:46+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@src.gnome.org</email>
</author>
<published>2003-09-17T18:57:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libsoup.git/commit/?id=0e5d0210590f3e0913101258fbbeb147f878f9f0'/>
<id>0e5d0210590f3e0913101258fbbeb147f878f9f0</id>
<content type='text'>
	* libsoup/soup-connection.c (soup_connection_new): Replaces the
	three previous soup_connection_new* functions and uses gobject
	properties to set the destination and proxy uris.
	(class_init): set up two more signals, authenticate and
	reauthenticate.
	(soup_connection_send_request): virtualize
	(send_request): Default implementation

	* libsoup/soup-connection-ntlm.c: New SoupConnection subclass that
	also handles NTLM authentication. Includes all of the NTLM code
	formerly in soup-auth-ntlm.c.

	* libsoup/soup-auth-ntlm.[ch]: Gone.

	* libsoup/soup-auth.c: Remove NTLM refs

	* libsoup/soup-session.c (class_init): Add gobject properties for
	proxy, max_conns, use_ntlm. Change the "authenticate" and
	"reauthenticate" signal prototypes to not pass a SoupAuth (so they
	can be used for authenticating SoupConnectionNTLM as well, which
	doesn't use a SoupAuth).
	(soup_session_new): Renamed from soup_session_new_default.
	(soup_session_new_with_options): Replaces
	soup_session_new_with_proxy and soup_session_new_full. Takes
	gobject properties.
	(run_queue): Create a new connection of type SoupConnection or
	SoupConnectionNTLM depending on our "use_ntlm" property. Connect
	to its authenticate and reauthenticate signals.
	(connection_authenticate, connection_reauthenticate): proxy these
	signals.

	* libsoup/soup-address.c (update_address_from_entry): Fix a
	crasher when failing to resolve the address.

	* libsoup/soup-dns.c (check_hostent): Fix some "how was this
	working before" bugs.

	* libsoup/soup-message-client-io.c (soup_message_send_request):
	call soup_message_prepare() to clean up the existing response
	state.

	* libsoup/soup-message-io.c (io_error): Set the read_state to DONE
	when processing an OK EOF.

	* libsoup/soup-status.h (SoupStatusClass): fix the numbering of
	these so that SOUP_STATUS_CLASS_SUCCESS is 2, etc.

	* tests/auth-test.c (authenticate, reauthenticate): Update for new
	prototypes.
	(main): Use soup_session_new.
	* tests/get.c (main): Likewise.
	* tests/simple-proxy.c (main): Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* libsoup/soup-connection.c (soup_connection_new): Replaces the
	three previous soup_connection_new* functions and uses gobject
	properties to set the destination and proxy uris.
	(class_init): set up two more signals, authenticate and
	reauthenticate.
	(soup_connection_send_request): virtualize
	(send_request): Default implementation

	* libsoup/soup-connection-ntlm.c: New SoupConnection subclass that
	also handles NTLM authentication. Includes all of the NTLM code
	formerly in soup-auth-ntlm.c.

	* libsoup/soup-auth-ntlm.[ch]: Gone.

	* libsoup/soup-auth.c: Remove NTLM refs

	* libsoup/soup-session.c (class_init): Add gobject properties for
	proxy, max_conns, use_ntlm. Change the "authenticate" and
	"reauthenticate" signal prototypes to not pass a SoupAuth (so they
	can be used for authenticating SoupConnectionNTLM as well, which
	doesn't use a SoupAuth).
	(soup_session_new): Renamed from soup_session_new_default.
	(soup_session_new_with_options): Replaces
	soup_session_new_with_proxy and soup_session_new_full. Takes
	gobject properties.
	(run_queue): Create a new connection of type SoupConnection or
	SoupConnectionNTLM depending on our "use_ntlm" property. Connect
	to its authenticate and reauthenticate signals.
	(connection_authenticate, connection_reauthenticate): proxy these
	signals.

	* libsoup/soup-address.c (update_address_from_entry): Fix a
	crasher when failing to resolve the address.

	* libsoup/soup-dns.c (check_hostent): Fix some "how was this
	working before" bugs.

	* libsoup/soup-message-client-io.c (soup_message_send_request):
	call soup_message_prepare() to clean up the existing response
	state.

	* libsoup/soup-message-io.c (io_error): Set the read_state to DONE
	when processing an OK EOF.

	* libsoup/soup-status.h (SoupStatusClass): fix the numbering of
	these so that SOUP_STATUS_CLASS_SUCCESS is 2, etc.

	* tests/auth-test.c (authenticate, reauthenticate): Update for new
	prototypes.
	(main): Use soup_session_new.
	* tests/get.c (main): Likewise.
	* tests/simple-proxy.c (main): Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make this an abstract GObject. Tweak some of the interfaces around a</title>
<updated>2003-08-12T18:00:14+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@src.gnome.org</email>
</author>
<published>2003-08-12T18:00:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libsoup.git/commit/?id=80b65d35e719c376bd3a8b7d4a1276c360dbe0f8'/>
<id>80b65d35e719c376bd3a8b7d4a1276c360dbe0f8</id>
<content type='text'>
	* libsoup/soup-auth.c: Make this an abstract GObject. Tweak some
	of the interfaces around a little bit.

	* libsoup/soup-auth-basic.c: subclass for Basic auth

	* libsoup/soup-auth-digest.c: subclass for Digest auth

	* libsoup/soup-auth-ntlm.c: subclass for NTLM auth. Move all of
	the code from soup-ntlm.c here, and make it private.

	* libsoup/soup-ntlm.c: gone

	* libsoup/soup-misc.h: Remove the definition of SoupAuthType from
	here, and change the signature of SoupAuthorizeFn.

	* libsoup/soup-context.c: Use g_object_unref to free auths, use
	methods instead of directly access private fields.

	* libsoup/soup-queue.c: Likewise

	* libsoup/soup-server-auth.c (soup_server_auth_free): Remove all
	NTLM references. We have no plans to implement server-side NTLM
	auth.

	* tests/auth-test.c (identify_auth): Update for auth api changes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* libsoup/soup-auth.c: Make this an abstract GObject. Tweak some
	of the interfaces around a little bit.

	* libsoup/soup-auth-basic.c: subclass for Basic auth

	* libsoup/soup-auth-digest.c: subclass for Digest auth

	* libsoup/soup-auth-ntlm.c: subclass for NTLM auth. Move all of
	the code from soup-ntlm.c here, and make it private.

	* libsoup/soup-ntlm.c: gone

	* libsoup/soup-misc.h: Remove the definition of SoupAuthType from
	here, and change the signature of SoupAuthorizeFn.

	* libsoup/soup-context.c: Use g_object_unref to free auths, use
	methods instead of directly access private fields.

	* libsoup/soup-queue.c: Likewise

	* libsoup/soup-server-auth.c (soup_server_auth_free): Remove all
	NTLM references. We have no plans to implement server-side NTLM
	auth.

	* tests/auth-test.c (identify_auth): Update for auth api changes
</pre>
</div>
</content>
</entry>
</feed>
