Reading shibboleth IdP configuration from database

Cantor, Scott cantor.2 at osu.edu
Tue Nov 10 20:29:36 EST 2015


On 11/10/15, 6:28 PM, "dev on behalf of Tom Zeller" <dev-bounces at shibboleth.net on behalf of tzeller at dragonacea.biz> wrote:


>
>We use a StringToResourceConverter (in spring-extensions) to convert those Strings to Resources. I’m guessing you would define a <bean/> representing your custom DBResource, and then would need to add it to that list of resources, I’m not sure what that wiring would be off-hand. Over in system/conf/system-services.xml you can see how the list of resources is injected.

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.

Given multiple resources from probably one database, the DataSource is probably defined in its own bean and then injected into multiple resource beans, but beyond that the details are implementation dependent.

There's no type to extend because you're free to do anything you want. We're not constraining you, and you don't have to build a schema and parse it.

-- Scott

>


More information about the dev mailing list