messages.properties v3.3.0 customise IdP Login Page

Cantor, Scott cantor.2 at osu.edu
Tue Mar 7 13:30:56 EST 2017


On 3/7/17, 1:17 PM, "users on behalf of Klingenstein, Nate" <users-bounces at shibboleth.net on behalf of nklingenstein at calstate.edu> wrote:

> You can basically define Spring properties anywhere.  Move them freely amongst files, but ensure they're enumerated at the
> top of idp.properties, where messages.properties may be missing.

That is not the case, messages are not Spring properties.

> Everything is good and working, except I have a query about customisation of the login.vm velocity template. Having done an
> upgrade from v3.2.1 it seems that v3.3.0 is still taking it’s template variables (message properties) from
> idp.home/messages/error-messages.properties

If it didn't, that would break your upgrade.

> rather than the newly specified (as per the documentation of v3.3.0) idp.home/messages/messages.properties. Is this the
> expected behaviour? And how will this transfer going forward?

The choice of what message files to load is yours, see services.xml

If you want to convert, then adjust where your messages are, and change services.xml to match the new defaults. All the default files are in dist/

-- Scott




More information about the users mailing list