hello!
i've been trying to get environment variables to resolved when added to my
custom_messages.properties file.
i've tried creating a env variable in my SPRING_APPLICATION_JSON
environment variable, lets call it cas.env.clusterNodeName
i then add it to custom_messages.properties as:
custom.env.clusterNodeName=${cas.env.clusterNodeName}
as I would do if I were passing it through to the cas.properties file.
then on the html in the theme i'm working with I add this:
<p th:text="#{custom.env.clusterNodeNanem}"></p>
but it doesn't resolve, it just prints out ${cas.env.clusterNodeName}
any ideas?
thanks for all the help you all give!
--
- 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/d488a43c-7b92-4cb7-ae81-754c7b252af3%40apereo.org.