Skip to Content.
Sympa Menu

shibboleth-dev - ClasspathPropertyReplacementResourceFilter ?

Subject: Shibboleth Developers

List archive

ClasspathPropertyReplacementResourceFilter ?


Chronological Thread 
  • From: Tom Zeller <>
  • To:
  • Subject: ClasspathPropertyReplacementResourceFilter ?
  • Date: Wed, 27 Jan 2010 13:11:59 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=ZdCE0HY0H3wYCZzwBEqYk6nGx9sOBcVEYZIEYobVgK80Ip+AmGwRXZ8F9G62jIy8gM FM0ILKQKeJUR+ZYEROcHRKsSWDzahmVnbaAkjyQFnfTtLLwjXdBHu3L9x5G1rjCCWLCc wU5jir+2bocb2ZP9C94q9iF2zTPLJUUnxCaAg=

It would be nice if the PropertyReplacementResourceFilter could accept
a properties file found on the classpath in addition to an absolute
path.

Perhaps PropertyReplacementResourceFilter could be modified to support
a "classpathPropertyFile" attribute :

<ResourceFilter xsi:type="PropertyReplacement"
classpathPropertyFile="config.properties"/>

or maybe a new class :

<ResourceFilter xsi:type="ClasspathPropertyReplacement"
propertyFile="config.properties"/>

The coding seems straightforward and I'm willing to submit a patch, if
desired.

I'm asking for this to ease writing of junit tests for Grouper's use
of the Attribute Resolver.

Thanks,
Tom


  • ClasspathPropertyReplacementResourceFilter ?, Tom Zeller, 01/27/2010

Archive powered by MHonArc 2.6.16.

Top of Page