How to use os environment variables in CAS properties to hide sensitive information?

31 views
Skip to first unread message

casuser

unread,
Oct 1, 2019, 11:33:25 PM10/1/19
to CAS Community
We are currently using CAS 5.3


How can we hide sensitive information like authentication details in the cas properties file by using the os environment variables?


Thanks in advance

Ray Bon

unread,
Oct 2, 2019, 11:42:19 AM10/2/19
to cas-...@apereo.org

You can also specify values in setenv.sh for tomcat (if you use that):

CATALINA_OPTS="$CATALINA_OPTS -Dcas.host.name=tomt"


Ray
-- 
Ray Bon
Programmer Analyst
Development Services, University Systems

I respectfully acknowledge that my place of work is located within the ancestral, traditional and unceded territory of the Songhees, Esquimalt and WSÁNEĆ Nations.
Reply all
Reply to author
Forward
0 new messages