Resources.

Rod Widdowson rdw at steadingsoftware.com
Thu Jan 2 10:03:54 EST 2014


[This is just for general information]

I have had a long standing desire to write a test to mimic what some
customers do - namely to put their configuration into SVN but to leave
security sensitive information (passwords, key material, and so on) on the
filesystem as a property file.

With the SVN resource having been implemented I got to try it this morning.
The good news is that it does work (the new test is in
idp-attributeresolver-spring), but the bad news is that I needed to make
some significant changes to the one parser I was testing.

Earlier in this thread, where the question was whether property replacement
would work without the factory bean in the way, I said:

> The somewhat surprising result is that we do *not* need a bean factory to
> achieve this, maybe it is because I was just looking at string parameters.

And indeed this is true, but only *so long as we pass strings and
BeanDefinitions about*.  In the case I happened upon we were growing
IdPAttribute implementations in the parser and injecting them into the bean
definition.  This works, but doesn't give property replacement a chance to
run.

I have entered case IDP-354 to note that I need to do that work.

/R




More information about the dev mailing list