format of variable

19 views
Skip to first unread message

vallee.romain

unread,
Aug 24, 2016, 9:18:33 AM8/24/16
to CAS Community
Hello, i just have simple question .

In some files configuration, we can found this kind of variable 

${st.timeToKillInSeconds:10}

i know that format 

${st.timeToKillInSeconds}, the value of this variable is store into cas.properties 

but this format :

${st.timeToKillInSeconds:10} ?? what does it mean ?

Thank you

Dmitriy Kopylenko

unread,
Aug 24, 2016, 9:21:02 AM8/24/16
to vallee.romain, CAS Community
:10 means if the property placeholder variable is not defined in the properties file, the value of 10 will be used.

Cheers,
D.

--
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 cas-user+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/7a5d9a89-8c95-4e99-aa1d-22aafc410538%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

vallee.romain

unread,
Aug 24, 2016, 9:24:02 AM8/24/16
to CAS Community, vallee...@gmail.com, dkopy...@unicon.net
Perfect !!

thank you !
Reply all
Reply to author
Forward
0 new messages