Reading shibboleth IdP configuration from database
Rod Widdowson
rdw at steadingsoftware.com
Wed Nov 11 05:15:12 EST 2015
> Well, the HTTP example(s) are the equivalent. The wiring entirely depends on
> the implementation, though presumably there's a DataSource somewhere in
> the mix.
I would add that it is best if your resource implements both org.springframework.core.io.Resource and net.shibboleth.utilities.java.support.resource.Resource
The latter isn't strictly needed for what you are doing, but if you make the change (and their methods are nearly identical) you will be able to plug you Resource into OpenSAML (for things like metadata parsing).
You might find a "Spring resource from DataSource" somewhere out there, but my suggestion is port your V2 to V3 - As Scott said the HTTP example is a good place to go because its precisely that - a port from V2.
Rod
More information about the dev
mailing list