Spring shorthand, again

Cantor, Scott cantor.2 at osu.edu
Tue Jan 26 19:59:17 EST 2016


On 1/26/16, 6:51 PM, "dev on behalf of Nate Klingenstein" <dev-bounces at shibboleth.net on behalf of nate.klingenstein at utah.edu> wrote:


>
>No doubt.  Thinking through where people have problems, it’s exactly the locality thing you mentioned.  Half properties, half XML, half Spring.  It all makes sense after you know what it’s doing, but it’s like we each have a little syntax switch in our heads that works in one mode or the other.

The only solution is to stop so many properties. The only real use for them is to expose settings that have to be injected into system beans. The resolver is a good example of that not being needed.

>I think my first vote at this point would just be for a comment like the one in sshd_config in idp.properties along with an explicit note about which deployment scenarios can’t be used with the properties files unless you know what you’re doing(e.g. “if you have two directories, please go figure it out and come back here later").

I'm not in favor of putting long notes in the files (SP used to do that, it was awful) but adding an explanatory comment about defaults is fine.

-- Scott

>


More information about the dev mailing list