Re: [cas-user] environment variables in custom_messages.properties

2020-02-07 Thread Nathan Lewan
that did it! awesome, thank you so much On Friday, February 7, 2020 at 10:24:05 AM UTC-5, Jérôme Steve wrote: > > Hi Nathan, > > With thymeleaf template you can get directly env var by using this : > > ${@environment.getProperty('cas.env.clusterNodeName')} > > Jérôme. > > Le ven. 7 févr.

Re: [cas-user] environment variables in custom_messages.properties

2020-02-07 Thread Matthew Uribe
Maybe in your setenv.sh or catalina.properties you might try something like this: export JAVA_OPTS="$JAVA_OPTS -Dcas.env.clusterNodeName=${SOME_VARIABLE_OR_STATIC_VALUE}" Matt Uribe ERP Architect/Administrator Information Technology Aims Community College 970.339.6375 matthew.ur...@aims.edu

Re: [cas-user] environment variables in custom_messages.properties

2020-02-07 Thread Jérôme Steve
Hi Nathan, With thymeleaf template you can get directly env var by using this : ${@environment.getProperty('cas.env.clusterNodeName')} Jérôme. Le ven. 7 févr. 2020 à 16:04, Nathan Lewan a écrit : > hello! > > i've been trying to get environment variables to resolved when added to my >

[cas-user] environment variables in custom_messages.properties

2020-02-07 Thread Nathan Lewan
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: