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

Re: Need repos UUID in libsvn_auth?

From: <gstein_at_lyra.org>
Date: 2003-01-24 20:07:26 CET

On Fri, Jan 24, 2003 at 12:05:34PM -0600, Ben Collins-Sussman wrote:
 Justin Erenkrantz jerenkrantz@apache.org writes:
  --On Friday, January 24, 2003 11:47 AM -0600 Ben Collins-Sussman
...
  sussman@collab.net wrote:
  
   Actually, gstein and I discussed the fact that every type of
   authentication output structure (like our existing
   svn_auth_cred_simple_t) might need to be coupled with an equally
   specific input structure as well. I guess the first_ and
   next_creds function would take the input structure as a void *.
  
   Should I just implement that now?

Let's accumulate more information and figure out the right answer. The set
of information might be quite varied. For example, with Basic auth, there is
a realm that you're authenticating with. It is quite reasonable to assume
that a provider will key the credentials off the realm.

So we've got the UUID, maybe the Basic (and Digest?) realm, and who knows
what else.

...
  I don't *think* we'd need to pass the input to next_creds. Those
  inputs should be fixed when we call s_a_f_c, no? We'd just store the
  input in iterstate. -- justin
 
 Oh, duh, right. Sure, the iteration baton would still have all that
 state.

Right. Note that it would be the provider-specific iteration baton, rather
than libsvn_auth's iterstate. (that is: you pass to provider-first_cred)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:15:12 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.