I am trying to externalize as many of the customizations to CAS as possible. I have figured out
how to do so for UI templates using the
cas.view.templatePrefixes[0] property, but am having trouble figuring out a similar technique for custom_messages.properties. I tried using the
cas.messageBundle.baseNames property as described in
this thread, but couldn't get that to work. Am I missing something or is there another method I should try?
Actual property value set
cas.messageBundle.baseNames = file:/etc/cas/messages,classpath:custom_messages,classpath:messages
File location on server:
c:\etc\cas\messages\custom.messages.properties
If it isn't possible to externalize custom messages, what are the downsides to including my customized text as literals in the UI templates rather than bringing them in as custom messages?
Thanks
My environment:
- Standalone CAS 6.0.5 build
- Windows Server 2012 R2
- Tomcat 9 running as a service