OpenSAML3.3 Correct way to read (adfs) FederationService.xml?
Rob Audenaerde
rob.audenaerde at gmail.com
Tue May 23 10:31:41 EDT 2017
I hope I have the correct list now, it was not really clear to me where
questions regarding use of OpenSAML belong.
I'm integrating OpenSAML 3.3 in my application, and instead of hard-coding
all the urls etc, I would like to be able to use the configuration XMLs.
I was given such an XML file for a adfs instance, it is
'FederationMetadata.xml'
This is the snippet I used to read it:
InitializationService.initialize();
FilesystemMetadataResolver idpMetaDataProvider = new
FilesystemMetadataResolver( new
File("/home/raudenaerde/sso/FederationMetadata.xml") );
idpMetaDataProvider.setRequireValidMetadata(true);
idpMetaDataProvider.setParserPool(new BasicParserPool());
idpMetaDataProvider.initialize();
However, this gave me this error:
Exception in thread "main"
net.shibboleth.utilities.java.support.component.ComponentInitializationException:
Component identifier can not be null
Using an github project (https://github.com/coveo/saml-client) that uses
OpenSAML 2.6.4 I had no problems reading it, but I'd like to stick with the
newest version 3.3.
Am I missing some basic set-up?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20170523/ff46c917/attachment.html>
More information about the dev
mailing list