hostname only from entityID URL

Peter Schober peter.schober at univie.ac.at
Tue Oct 13 06:07:30 EDT 2015


* Szerb, Tamas <toma at rulez.org> [2015-10-13 07:49]:
> the question is, where to store the sp url in the sp metadata: in the
> organizationURL what i mentioned?

Again, what is "the sp url"?
Look, here are a few elements/attributes that containing "URLs" in
SAML Metadata, maye you find something you like:

* entityID (required; globally unique name, a URI. no relation to
  anything -- server name, host name, domein, URL, it's a name, not a
  location. Though a location can also be a name.)
* mdui:InformationURL (see mdui spec)
* md:OrganizationURL (some URL about the Org owning/running the SP;
  often that is /not/ identical with the SP/the service. E.g. Uni
  Vienna is not the same as "Wiki spaces at University of Vienna",
  therefore a URL referencing the Org (a university) will not be a
  suitable choice for "the sp url", I suppose.)
* AssertionConsumerService/@Location (a URL where the SP can recieve
  SAML protocol messages).

Outside SAML Metadata there's the 'RelayState', which the SP may send
to the IDP (containing a reference to the originally requested
resource at the SP; though this is neither required nor recommended to
be a URL and also is limited to 80 chars), but you were asking about
SAML Metadata specifically.

If none of this matches what you mean with "the sp url" then maybe the
answer is that there is nothing in standard SAML Metadata
elements/attributes that holds that value (whatever it may be).
-peter


More information about the users mailing list