Help with MetadataProvider -> MetadataResolver ?
Brent Putman
putmanb at georgetown.edu
Thu Oct 17 20:20:16 EDT 2013
On 10/17/13 7:52 PM, Tom Zeller wrote:
> Back in August you asked [1] :
>> Did/do we have any intention of supporting queries using the
>> MetadataResolver API that *don't* include an EntityIdCriterion?
> and the answer, then, is yes, support queries that do not include an
> EntityIdCriterion, correct ?
Sorry I'm not following what you're asking exactly, or the context of
the question. I think we decided mostly, no, we didn't necessarily need
to support queries without an EntityIdCriterion, and currently we don't,
you'll get an exception in that case. It would primarily be useful for
cases like discovery or something, not the main 99.9% case of looking up
metadata at runtime in a SAML profile flow.
However, when I finish up with the HttpClient hell that I've been in for
the last couple of weeks, I'll get back to the resolver predicate stuff
that I've mentioned. And with that, as a side effect, we could in fact
relatively easily support MetadataResolver queries that don't include an
EntityIdCriterion.
Also along those lines, the batch-oriented MetadataResolvers also now
implement Iterable<EntityDescriptor>. That turned out to be really
easy. So for something like discovery, etc, that is also an option.
--Brent
More information about the dev
mailing list