...
The only supported use of this provider is with a Spring-defined bean which is a Spring Resource (or more rarely a Shibboleth Resource) via the resourceRef
attribute. It's primarily historical but is a useful extension point since implementing a new Resource class is much simpler than an entirely new metadata provider.
...