<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">John is correct. &nbsp;<div><br></div><div>Also when using a URL identifier like a blog it is possible to publish a XRD via link headers as well. &nbsp;</div><div>That helps make publishing meta-data open to a broader selection of users.</div><div><br></div><div>If a site wanted to have a oAuth protected XRD service there is nothing to stop that.</div><div><br></div><div>In XRI/XRDS resolution we had per service discovery, much the same as MS is proposing for similar reasons.</div><div><br></div><div>People criticized that in XRI/XRDS as being too complicated. &nbsp;That is why it is not in the current XRD spec.</div><div><br></div><div>We do need to make a side by side comparison.</div><div><br></div><div>I know that people have asked for a JSON format XRD document option. &nbsp; That is on the OASIS TC list of things to work on.</div><div><br></div><div>John Bradley<br><div><div>On 2010-10-29, at 3:35 PM, John Panzer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I think that it would be good to have a writeup like this that describes the differences and pros and cons of each approach. Perhaps on a Wiki page?<div><br></div><div>Some random thoughts:</div><div><br></div><div>One thing: &nbsp;host-meta is highly cacheable, so the # of round trips will hopefully be comparable for large services with significant traffic. &nbsp;In fact the user XRD is also cacheable as well so there can be zero round trips. &nbsp;This proposal defines a mechanism separate from HTTP caching in order to cache responses, it'd be good to have a rationale for doing that (and to have an explanation of how this should interact with additional HTTP level caching.)</div>


<div><br></div><div>This mechanism appears to require multiple round trips to a server if you want to discover multiple services. &nbsp;</div><div><br></div><div>This proposal seems to require that the /well-known provider run a significant service on their endpoint, as opposed to just dropping a file in place. &nbsp;I think that the forwarding mechanism may be a way around that? &nbsp;How would I hook into this mechanism if I really only can drop static files on my web server, but I can perhaps use cloud services that I've registered with to actually power the discovery?</div>


<div><br></div><div><div><div><div dir="ltr">--<br>John Panzer / Google<br><a href="mailto:jpanzer@google.com" target="_blank">jpanzer@google.com</a> / <a href="http://www.abstractioneer.org/" target="_blank">abstractioneer.org</a> / @jpanzer</div>


<br>
<br><br><div class="gmail_quote">On Fri, Oct 29, 2010 at 4:04 AM, Lukas Rosenstock <span dir="ltr">&lt;<a href="mailto:lr@lukasrosenstock.net" target="_blank">lr@lukasrosenstock.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hello!<br>
This draft is looking nice, the idea and specification is simple and<br>
straightforward. I would like to draw the connection to other<br>
discovery approaches.<br>
<br>
The introductory example in the draft was this one:<br>
GET /.well-known/simple-web-discovery?principal=mailto:<a href="mailto:joe@example.com" target="_blank">joe@example.com</a>&amp;service=urn:adatum.com:calendar<br>
HTTP/1.1<br>
<br>
This returns the following response:<br>
{<br>
&nbsp;"locations":["<a href="http://calendars.proseware.com/calendars/joseph" target="_blank">http://calendars.proseware.com/calendars/joseph</a>"]<br>
}<br>
<br>
As per my understanding - please correct me if I'm wrong - this should<br>
be semantically equivalent to the following:<br>
1) Perform host-meta discovery for <a href="http://example.com/" target="_blank">example.com</a>, which returns an XRD<br>
with the webfinger endpoint.<br>
2) Do webfinger for <a href="mailto:joe@example.com" target="_blank">joe@example.com</a>.<br>
3) The final XRD contains the following:<br>
&lt;XRD&gt;<br>
[...]<br>
&lt;Link rel="urn:adatum.com:calendar"<br>
href="<a href="http://calendars.proseware.com/calendars/joseph" target="_blank">http://calendars.proseware.com/calendars/joseph</a>" /&gt;<br>
[...]<br>
&lt;/XRD&gt;<br>
<br>
Both approaches work, but SWD is a shortcut removes parsing<br>
requirements and fetching roundtrips from the client.<br>
<br>
Thoughts, anyone?!<br>
<br>
Regards,<br>
&nbsp;Lukas Rosenstock<br>
<br>
2010/10/27 Mike Jones &lt;<a href="mailto:Michael.Jones@microsoft.com" target="_blank">Michael.Jones@microsoft.com</a>&gt;:<br>
<div>&gt; Yaron Goland and I are submitting this Simple Web Discovery (SWD) draft<br>
&gt; (attached and at<br>
&gt; <a href="http://self-issued.info/docs/draft-jones-simple-web-discovery-00.html" target="_blank">http://self-issued.info/docs/draft-jones-simple-web-discovery-00.html</a>) for<br>
&gt; consideration by the community to address this need.&nbsp; SWD is simple to<br>
&gt; understand and implement, enables different permissions to be applied to<br>
&gt; discovery of different services, and is JSON-based.&nbsp; I look forward to<br>
&gt; discussing this with many of you next week at IIW.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<br>
</div><div><div></div><div>_______________________________________________<br>
OAuth mailing list<br>
<a href="mailto:OAuth@ietf.org" target="_blank">OAuth@ietf.org</a><br>
<a href="https://www.ietf.org/mailman/listinfo/oauth" target="_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</div></div></blockquote></div><br></div></div></div>
_______________________________________________<br>Openid-specs-ab mailing list<br><a href="mailto:Openid-specs-ab@lists.openid.net">Openid-specs-ab@lists.openid.net</a><br><a href="http://lists.openid.net/mailman/listinfo/openid-specs-ab">http://lists.openid.net/mailman/listinfo/openid-specs-ab</a><br></blockquote></div><br></div></body></html>