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

Re: [patch] ask for username if getting UID fails

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-05-16 21:35:26 CEST

Branko Čibej <brane@xbc.nu> writes:

> >>What do people think? Should we cache usernames with passwords? The
> >>cache should be updated whenever the --username option is passed on the
> >>command line, of course.
> >>
> >>
> >
> >I think it makes a lot of sense (in fact, I thought we were doing it!)
> >
> >
> So did I, and I'm confused by Steve's assertion that we don't.

Allow me to clarify:

At the moment, if you pass --username or --password on the
commandline, the svn_client_ctx parameter merely remembers them *in
case* an authentication challenge happens. If the server never issues
a challenge, then those values are lost forever when the client exits.
They aren't saved (cached) to disk by any auth provider.

If a challenge *does* happen, the values are used, and some provider's
save_creds() function ends up saving them to disk.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 16 21:39:15 2003

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.