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

Re: Auth via http(s)?

From: Philipp Marek <philipp_at_marek.priv.at>
Date: 2007-10-10 18:28:40 CEST

(CC'ing dev)

On Wednesday 10 October 2007 Bjorn Oglefjorn wrote:
> That's unfortunate. fsvs should not rely on the .subversion/auth files
> existing because subversion can be configured to _not_ store credentials.
You're right.

> This is how I have subversion configured, personally:
>
> [auth]
> store-passwords = no
> store-auth-creds = no
Very good ... I'm just too lazy for that, I think :-)

> So the svn client will prompt for authentication on each action which
> requires it. Upon receiving a HTTP 401 response, I feel fsvs should also
> be able to prompt for a password and send the authentication information
> off to the server. Perhaps this discussion should move to the devel list?
Well, if there's some developer for it ...

A short look shows that a
        struct svn_ra_callbacks2_t
is passed to the RA layer on svn_ra_open2(), which has a auth_baton ...
this is filled by
        svn_cmdline_setup_auth_baton(),
and part of this logic is already in FSVS in
        cb__init().

Now, somebody?
If someone would like to do it, I'd hope for a short overview for discussion
on dev@.

Regards,

Phil

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 10 18:29:02 2007

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.