Probably will punt this out to 5.1 but I think we should extend the actions that resolve metadata with a way to plugin in arbitrary Criterions so that the code doesn’t need to be aware of every possible metadata resolver extension.
Environment
None
Activity
Scott Cantor
December 12, 2023 at 6:45 PM
The primary message handler for this does check for SAMLMetadataLookupParametersContext but that isn’t currently anything but a wrapper around a specific additional criterion input for duplicate detection.
We could though leverage that context class and extend it with a hook and then customizers would populate that context slot to drive the behavior, which has the advantage of not having to wire up an injection point for a new hook into the handler across a large number of bean definitions.
Probably will punt this out to 5.1 but I think we should extend the actions that resolve metadata with a way to plugin in arbitrary Criterions so that the code doesn’t need to be aware of every possible metadata resolver extension.