Dear all,

We are using CAS currently in my company and we have created our customised 
application.properties config with the cas-related properties set up there 
(e.g. cas.host.name, cas.authn.pm.enabled, etc). 
We would like now to override some messages that are found in the 
messages.properties file. Specifically we are interested in changing the 
screen.mustchangepass.message and screen.mustchangepass.heading

However I haven't found a solution yet to override these messages without 
having to rebuild CAS again.

I have tried the following approaches so far:
1. Create a custom_messages.properties which is supposed to override the 
values found in messages.properties. 
2. I have tried following this 
https://apereo.github.io/cas/5.2.x/installation/Configuration-Properties.html#message-bundles
 
guide to add the new properties file directory to our customised 
application.properties file but with no success.
3. I have tried to override the screen.mustchangepass.message/heading from 
the start command or specify the location in the --spring.config.location 
argument and --spring.config.additional-location, but with no success again.

Do you have any suggestions on the above matter? Could you please provide 
any examples (in case I am doing some syntax errors)? 

Thank you in advance!

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/5aa17732-3bd0-411b-97bb-ef176ffd3688%40apereo.org.

Reply via email to