Regarding MetadataProvider Interface in OpenSAMLv3
Brent Putman
putmanb at georgetown.edu
Tue Jul 5 16:10:26 EDT 2016
On 7/4/16 2:53 AM, punit ashra wrote:
> Hi Dev Team,
>
> I am moving from OpenSAMLv2 to OpenSAMLv3, is there any implementation
> changes in MetadataProvider?
In general the v2 MetadataProvider functionality was split into 2 new
Resolver sub-interfaces: MetadataResolver (resolves EntityDescriptors)
and RoleDescriptorResolver (resolves RoleDescriptors). The only
supplied impl of the latter just wraps an instance of the former. The
MetadataResolver impls, aside from the name changes of -Provider to
-Resolver, pretty much look like the old v2 ones as far as what they do
and how they work (filesystem, HTTP, file-backed HTTP, etc).
As Resolvers, they take as input a CriteriaSet. For MetadataResolvers
(in 3.2.0 at least) that should contain an EntityIdCriterion. For
RoleDescriptorResolver, should contain a EntityIdCriterion,
EntityRoleCriterion, and optionally a ProtocolCriterion.
(FYI, there are some backward-compatible changes and new capabilties
coming there, already on the trunk and scheduled for 3.3.0).
> As i am not able to use it directly.
If you ask a more specific question, I can give you a more specific answer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160705/7db65de4/attachment.html>
More information about the dev
mailing list