<div dir="ltr"><div><br></div>Thanks Brent. It cleared lot of stuff on the changes made in MetadataProvider (Resolver) Interface. :)<div><br></div><div><div>I had a query on this when i was trying to add Metadata Role and Metadata Protocol, which can be done using MetadataCriteria </div><div><br></div><div>net.shibboleth.utilities.java.support.resolver.CriteriaSet criteriaSet = new net.shibboleth.utilities.java.support.resolver.CriteriaSet();</div><div>criteriaSet.add(new MetadataCriteria(IDPSSODescriptor.DEFAULT_ELEMENT_NAME,SAMLConstants.SAML20P_NS));</div><div>criteriaSet.add(new EntityIdCriterion(metaData.getEntityId()));</div></div><div><br></div><div>So, is there other implementation of Criteria instead of MetadataCriteria?</div><div><br></div><div>Thanks,</div><div>Punit</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 6, 2016 at 1:40 AM, Brent Putman <span dir="ltr"><<a href="mailto:putmanb@georgetown.edu" target="_blank">putmanb@georgetown.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<p><br>
</p>
<br>
<div>On 7/4/16 2:53 AM, punit ashra wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Dev Team,
<div><br>
</div>
<div>I am moving from OpenSAMLv2 to OpenSAMLv3, is there any
implementation changes in MetadataProvider?</div>
</div>
</blockquote>
<br></span>
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).<br>
<br>
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.<br>
<br>
(FYI, there are some backward-compatible changes and new capabilties
coming there, already on the trunk and scheduled for 3.3.0).<span class=""><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div>As i am not able to use it directly.<br>
</div>
</div>
</blockquote>
<br></span>
If you ask a more specific question, I can give you a more specific
answer.<br>
</div>
<br>--<br>
To unsubscribe from this list send an email to <a href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</a><br></blockquote></div><br></div></div>