OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xri message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [xri] URIMap element (was: XRD trusted discovery workflow)




On Mon, Dec 15, 2008 at 3:18 PM, Eran Hammer-Lahav <eran@hueniverse.com> wrote:

On 12/15/08 3:08 PM, "Dirk Balfanz" <balfanz@google.com> wrote:

> Ok, I think we're in violent agreement over this, then.

Which I do not understand what it is.

That site-meta is for the site, which is different from the root resource, how OpenID discovery for directed vs. claimed id should work, etc.
 

> The questions, though, remain (independent of applications such as OpenID):
>
> (1) Is there going to be a resource map/Link-Template equivalent in XRD?

Yes. <Link> elements will be allowed to include <URI> elements and
<TemplateURI> elements. So a <TemplateURI> could be used as a resource map,
but that meaning is very much application specific. There is no such thing
as a generic URI map. The map must always have a very clear semantic
meaning. In /site-meta, when used with rel="describedby", it offers a way to
go from the R-URI to the D-URI. Any other rel and the meaning is undefined.

So this would be ok:

<Link>
  <Rel>http://openid.net/signon</Rel>
  <TemplateURI>http://example.com/openid?user={URI}</TemplateURI>
</Link>

I assume this is ok, too (trying to understand what "there is no such thing as a generic URI map" means):

<Link>
  <Rel>describedby</Rel>
  <TemplateURI>http://example.com/xrd?uri={URI}</TemplateURI>
</Link>

It would be nice to have the latter, too, even though it's something that can be expressed easily in /site-meta. The reason it would be nice to have is that in a XRD, it can be signed.


> (2) If so, what are the possible values for the rel-type parameter both in
> site-meta and in XRD?

Anything you want. I only care to define the semantic meaning of
rel="describedby" as my "application" is a generic descriptor method.

Sounds good.

Dirk.
 

> (3) If not, what are the possible values for the rel-type parameter in
> site-meta, and how are we gonna do secure discovery?

See my previous reply to Brian and the above information.

EHL




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]