Are we actually using the spring.schemas files?
Brent Putman
putmanb at georgetown.edu
Fri Jan 31 21:58:02 EST 2014
On 1/31/14 7:54 PM, Brent Putman wrote:
>
>> I recall that we used to be manipulating the Spring loader such that we
>> were mis-using the schema mappings file but it didn't matter, but I don't
>> think we're using a custom DocumentLoader in V3. So I'm a little confused,
>> something isn't working as it's meant to.
>
> I haven't been tracking this stuff in v3. Are we still using some of
> Chad's Spring helper code from v2? If so, perhaps the problem lies
> therein, in that it is somewhere inconsistent with how one is supposed
> to do things (as opposed to how v2 did it).
FYI, I changed my little hello world custom bean test to use the
SpringSupport class from idp-core like so:
ArrayList<Resource> configResources = new ArrayList<>();
configResources.add(new
ClassPathResource("brent/spring/customContext1.xml"));
GenericApplicationContext context =
SpringSupport.newContext("BrentContext", configResources, null);
and it still works fine.
I can't immediately see that we're doing anything more than that, but
some of you guys are much more familiar with our v3 Spring loading code
than I am.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20140131/ed2043cf/attachment.html
More information about the dev
mailing list