Identity Providers based on ADFS has in their metadata normally extensions that by default are note 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.
Add ws-* extensions validation to Shibboleth SP
- 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
- Add configuration in ${install_prefix}/share/xml/shibboleth/catalog.xml for downloaded schemas.
aaa
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.
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>