fixing the crypto factory beans

Cantor, Scott cantor.2 at osu.edu
Fri May 30 11:14:29 EDT 2014


On 5/30/14, 11:10 AM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:
>
>So I'm pretty sure this just works. I'll check into it.

It's the URI vs. path issue. The properties I had in credentials.xml are
just paths, but it tries to convert those to classpath resources, not file
resources. It converts them, they just don't work.

Personally I would have made Spring treat bare paths as files, but it's
not surprising that it doesn't. Too bad they don't let you control that
somehow.

We could override the conversion, I suppose.

Alternative, we just have to put the file:/// prefix into the properties,
I'll do that for now.

-- Scott




More information about the dev mailing list