Reading WS-Federation metadata using OpenSAML?

Cantor, Scott cantor.2 at osu.edu
Mon Jun 12 09:26:29 EDT 2017


> Is it possible to consume WS-Federation metadata using fx a
> FileBackedHTTPMetadataResolver from OpenSAML?

Yes, but none of the XMLObject code for that schema is implemented, so I (think) it would expose all of it using the XSAny wildcard type and you'd have to manually go plowing into it.

> I tried doing it, but cannot get it to work. Possibly due to a mismatch with the
> XML NS used for RoleDescriptors:

Unless you're schema-validating, I don't think that it requires access to the schemas to at least parse and load the file. The schemas could also in theory be added but there are probably a ton of them.

Shibboleth SPs support WS-Fed, still. That's what you should use.

-- Scott



More information about the dev mailing list