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

Re: neon authentication retries

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2001-10-06 00:28:16 CEST

On Fri, Oct 05, 2001 at 04:40:21PM -0500, Ben Collins-Sussman wrote:
> gstein and I were under the impression that if authentication fails,
> neon will call the auth-info callback at least a 2nd time.
>
> However, I just set a breakpoint on libsvn_ra_dav/session.c:request_auth,
> and it never re-calls this function after I type a bogus password.

Yup, the authentication callback is only called once.

> Can you clarify what's going on here?

Well, that's how it's supposed to work. :) I'm not sure why retrying
twice after auth failure would be desired; once, or retrying it forever
would be the only sensible options I can see, and I think I prefer once.

> (Background: I have some local mods in place such that if
> request_auth is called a 2nd time, it *forces* a prompt to be
> displayed to the user. This is part of the solution to issue #498.)

I'm guessing you want to do this because you've already tried
authenticating using the cached credentials, but they were wrong, so you
want to prompt?

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:44 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.