<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Sep 12, 2016 at 11:05 AM Cantor, Scott <<a href="mailto:cantor.2@osu.edu">cantor.2@osu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The group data is formally there in the parent object(s) up above the EntityDescriptor, but we also annotate all the metadata with the EntitiesDescriptor names when the metadata gets loaded and that's already implemented for you:<br>
<br>
org.opensaml.saml.common.profile.logic.EntityGroupNamePredicate<br></blockquote><div><br></div><div>Reviewing that component was helpful, but prompted a follow-up question. </div><div><br></div><div> for (final EntityGroupName group : input.getObjectMetadata().get(EntityGroupName.class)) {</div><div> if (groupNames.contains(group.getName())) {</div><div> return true;</div><div> }</div><div> }</div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">A collection of entity groups is a bit of a wrinkle. I recall a discussion from a while back that the behavior of an entity appearing in multiple metadata sources could produce indeterminate behavior and was frowned upon. Violating that rule is the only way I could see that would produce multiple values. So in practice won't an entity have exactly one entity group?</span><a href="mailto:users-unsubscribe@shibboleth.net" target="_blank"></a><br>
</div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Thanks,</span></div><div><span style="line-height:1.5">M</span></div><div><span style="line-height:1.5"><br></span></div></div></div>