<br><div class="gmail_quote">On Mon, Oct 5, 2009 at 4:44 AM, Jay McCarthy <span dir="ltr"><<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This, in general, is the method I advise. However, the comment that<br>
"This doesn't allow people to, say, email URLs to one another." is not<br>
exactly true even when you aren't using the URL dispatcher. The<br>
continuation will always be invoked, but if there is extra<br>
authentication then it will perform that before doing work. When the<br>
authentication isn't there, it doesn't need to just error; it can<br>
request authentication and then resume the previous user's computation<br>
if it is appropriate. (For example, if the previous continuation was<br>
changing the password, then new authentication doesn't allow it, but<br>
if it is looking a paper review, then the new authentication would<br>
consult the ACL to decide if the paper review should be displayed and<br>
maybe it can.)<br>
<br></blockquote><div>Jay - <br><br>this is interesting - do you need to write your own dispatcher to make this work? Also - does it work with form-based auth? <br><br>Thanks,<br>yc<br><br> </div></div>