Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Identity Providers based on ADFS has can contain extensions in their metadata normally extensions that by default are note not validated by Shibboleth Service Provider. This means that SWAMID metadata will not automatically be validated by Shibboleth SP unless you add support for some schemas used by Microsoft.

...

  1. Download all schema files starting with "ws-" from https://git.swamid.se/?p=swamid-metadata.git;a=tree;f=schema;hb=HEAD and put them in the folder ${install_prefix}/share/xml/shibboleth/. The ws-* files are 2017-09-18
    • ws-addr.xsd
    • ws-authorization.xsd
    • ws-federation.xsd
    • ws-securitypolicy-1.2.xsd
  2. Add configuration in ${install_prefix}/share/xml/shibboleth/catalog.xml for downloaded schemas.

    aaa
    Code Block

 

För att bespara framtida person som vill göra detta, det man måste göra

är:

* Ladda ner schemana och lägg i ${install_prefix}/share/xml/shibboleth/

* Modifiera ${install_prefix}/share/xml/shibboleth/catalog.xml till att

  inkludera ovan sagda scheman.

 

  1. languagexml
    titleExample ws-* schemas in catalog.xml
        <system systemId="http://docs.oasis-open.org/wsfed/authorization/200706" uri="@-PKGXMLDIR-@/ws-authorization.xsd"/>
        <system systemId="http://docs.oasis-open.org/wsfed/federation/200706" uri="@-PKGXMLDIR-@/ws-federation.xsd"/>

    Note: ws-addr.xsd and ws-securitypolicy-1.2.xsd are loaded automatically due to that ther are referenced in ws-authorization.xsd or ws-federation.xsd.

  2. Restart Shibboleth SP to activate the new schemas.

 Sedan ska det funka. Man kan även styra vilken catalog-mapp man ska använda mha environment variabeln SHIBSP_SCHEMAS, se <https://wiki.shibboleth.net/confluence/x/YIBC>