Microsoft NTLM authentication support compliments of Dan Winship
authorAlex Graveley <alex@ximian.com>
Thu, 23 Aug 2001 07:01:57 +0000 (07:01 +0000)
committerAlex Graveley <orph@src.gnome.org>
Thu, 23 Aug 2001 07:01:57 +0000 (07:01 +0000)
commit4fab732ab16c3cdd448f366bc4288bb134e43410
treef33657c14932f7b9f2bd315126355064f3cfd80e
parentaac14e6beed854ec8f9246c1aed8479aae6e167e
Microsoft NTLM authentication support compliments of Dan Winship

2001-08-23  Alex Graveley  <alex@ximian.com>

* src/soup-core/soup-ntlm.[ch]: Microsoft NTLM authentication
support compliments of Dan Winship (danw@ximian.com).

* src/soup-core/Makefile.am (libsoup_la_SOURCES): Add soup-ntlm.[ch]

* src/soup-core/soup-auth.c (soup_auth_new_from_header): Set auth
context before header parsing. Add NTLM case. Call
auth->parse_func instead of hardcoding.
(soup_auth_invalidates_prior): add NTLM, which should always
invalidate.
(ntlm_new): impl.
(ntlm_free): impl.
(ntlm_parse): impl. Hack to get domain from the uri's authmech
field.
(ntlm_auth): impl.

* src/soup-core/soup-dav-server.c (get_depth): return 0 for
unknown value.

* src/soup-core/soup-server.h: Remove SoupServerAnonymousToken and
add SoupServerNTLMToken.
ChangeLog
libsoup/Makefile.am
libsoup/soup-auth.c
libsoup/soup-ntlm.c [new file with mode: 0644]
libsoup/soup-ntlm.h [new file with mode: 0644]
libsoup/soup-server.h