idp 2.4.1 mdui extension

Peter Schober peter.schober at univie.ac.at
Thu May 7 11:04:47 EDT 2015


* MA Lanxin <ma at ihep.ac.cn> [2015-05-07 16:42]:
> Here is a part of the metadata of my IDP.
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <EntityDescriptor 
>     xmlns="urn:oasis:names:tc:SAML:2.0:metadata" 
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>     xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" 
>     xmlns:ds="http://www.w3.org/2000/09/xmldsig#" 
>     entityID="https://idp.b.ac.cn/idp/shibboleth">
>     <IDPSSODescriptor protocolSupportEnumeration="urn:mace:shibboleth:1.0 urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol">
>        <Extensions>
>           <shibmd:Scope regexp="false">ac.cn</shibmd:Scope>
>        </Extensions>
> 
> I cannot see sstc-saml-metadata-ui-v1.0.xsd etc. in my metadata.
> Could somebody give me some clues on how to do it? in order to use
> mdui extension to define DisplayName and Logo in IDP metadata.

Include a namespace declaration in your EntityDescriptor or
EntitiesDescriptor, e.g.
  xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui"

Then add elements like this:

    <IDPSSODescriptor protocolSupportEnumeration="....">
      <Extensions>
        <shibmd:Scope regexp="false">b.ac.cn</shibmd:Scope>
        <mdui:UIInfo>
          [ as per the MDUI spec ]
        </mdui:UIInfo>
        <mdui:DiscoHints>
          [ as per the MDUI spec ]
        </mdui:DiscoHints>
      </Extensions>

-peter


More information about the users mailing list