Regarding MetadataCredentialResolverFactory in OpenSAMLv3

punit ashra punitashra at gmail.com
Tue Jul 5 10:07:28 EDT 2016


Hi Dev Team,

In OpenSAMLv2, MetadataCredentialResolverFactory is present, but not in
OpenSAMLv3.

MetadataCredentialResolverFactory credentialResolverFactory1 =
MetadataCredentialResolverFactory .getFactory();
MetadataCredentialResolver credentialResolver1 = credentialResolverFactory1
.getInstance(idpMetadataProvider1);

>From the JavaDocs, i see there is now a public constructor for
MetadataCredentialResolver.
So, the above code in OpenSAMLv3 can be

MetadataCredentialResolver credentialResolver1 = new
MetadataCredentialResolver();

But, there is no way to put an argument "idpMetaProvider1" of type
MetadataProvider

Can, anyone help me convert the above OpenSAMLv2 snippet to OpenSAMLv3?

Thanks,
Punit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160705/b9054f54/attachment.html>


More information about the dev mailing list