messages.properties v3.3.0 customise IdP Login Page

Keith Carr kecarr at sgul.ac.uk
Thu Mar 9 12:20:20 EST 2017


Thanks for your comments on this Scott - they make complete sense.

> -----Original Message-----
> From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor,
> Scott
> Sent: 07 March 2017 18:31
> To: Shib Users <users at shibboleth.net>
> Subject: Re: messages.properties v3.3.0 customise IdP Login Page
> 
> 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.

Yes, I presumed that to be the case, I just wondered how it tied in with moving forward in future versions. Which you have answered below.

> 
> > 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/
Yep, I can see them now.

Thanks, Keith
> 
> -- Scott
> 
> 
> --
> To unsubscribe from this list send an email to users-
> unsubscribe at shibboleth.net


More information about the users mailing list