authentication storage question
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-09-15 18:00:10 CEST
I'm in the middle of rewriting the client-side authentication system,
I have one design problem, though.
Here's a typical code flow:
1. client calls
session_baton = RA->open (URL, vtable_of_callbacks)
2. client calls
RA->do_some_network_things (session_baton)
* the RA layer is challenged by Apache
* the RA layer uses the callback vtable to get information from
* authentication suceeds, so RA finishes its work. or
3. client repeats step 2 until finished, then calls
RA->close (session_baton)
Here's the missing feature: if authentication was successful, it's
How does the client know if info needs to be stored? Or which info
- One possibility is that each RA->do_something() call return this
- Another possibility is that RA->close() is the only call to return
- Another idea is to have RA do the auth storage itself, via another
Thoughts? I think the third idea is probably best.
---------------------------------------------------------------------
|
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.