Skip to Content.
Sympa Menu

shibboleth-dev - Re: [Shib-Dev] "Design" question re: IdP extensions

Subject: Shibboleth Developers

List archive

Re: [Shib-Dev] "Design" question re: IdP extensions


Chronological Thread 
  • From: Andrew Petro <>
  • To:
  • Subject: Re: [Shib-Dev] "Design" question re: IdP extensions
  • Date: Fri, 24 Sep 2010 14:49:51 -0400

Yes. This is the best and easiest way to do this, using configuration in web.xml to enumerate the Spring context files that the Spring framework should traverse and wire up.

Jasig CAS does this.

https://source.jasig.org/cas3/trunk/cas-server-webapp/src/main/webapp/WEB-INF/web.xml

See the "contextConfigLocation" parameter.

CAS is demonstrating two clever things there. One is declaring a pattern, such that deployers can drop additional Spring configuration files in /WEB-INF/spring-configuration/ and those additional files will be wired in.

The other is separating out a "deployerConfigContext.xml" file specifically for the Spring-wired components that deployers are most expected to reconfigure.

Andrew



On 09/24/2010 02:42 PM, Scott Cantor wrote:
You can modify the application web.xml to list additional Spring
configuration files to be loaded. So you can create your own configuration
file independent of Shib.
Ah, great, thanks. Should have remembered to look there.

-- Scott






Archive powered by MHonArc 2.6.16.

Top of Page