[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Allow http auth protocols to be configurable

From: D.J. Heap <djheap_at_gmail.com>
Date: 2006-09-16 15:17:23 CEST

Any comments on or objections to this patch?

Allow http auth protocols to be configurable.

Neon 0.26 added support for selecting the auth protocols to
use. This change takes advantage of that support to
allow the user to specify the auth protocols they want to use
if they have a new enough neon.

The default protocols if no config is specified are basic and
digest for http, or basic, digest and negotiate for https.

* subversion/include/svn_config.h
  Add SVN_CONFIG_OPTION_HTTP_AUTH symbol to the list
  of configuration parameters available for servers.

* subversion/libsvn_subr/config_file.c
  (svn_config_ensure): Add comments on new parameter to file.

* subversion/libsvn_ra_dav/session.c
  (get_server_settings): Add neon_auth_protocols parameter
   and fill it in if we have a new enough neon and it has been
   set in the config file.
  (svn_ra_dav__open): If we have a new enough neon then
   pay attention to the http auth configuration and use its it to
   specify the auth protocols to be used.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat Sep 16 15:17:37 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.