Idp v311 installation at non-default loc

Cantor, Scott cantor.2 at osu.edu
Tue May 26 20:30:21 EDT 2015


On 5/26/15, 9:03 PM, "Brent Putman" <putmanb at georgetown.edu> wrote:


>
>As an aside, I double-checked and I believe that modern versions of 
>Spring already configure a PropertySource for a WebApplicationContext 
>that provides access to the servlet context params.  So I think a simple 
>change to IdPPropertiesApplicationContextInitializer
> to make it look for idp.home that way before it consults the well-known 
>locations (or just add it to the front of the list) would make all this 
>work.  I think...

Yes, if you set idp.home to something in a context parameter in web.xml, 
initially it's ignored when the property files are loaded, but the Spring 
context class actually sees idp.home as the overridden value when it 
refreshes the context. So yeah, just needs to be fixed in the initializer.

-- Scott



More information about the users mailing list