Overriding Problems with cas.properties

36 views
Skip to first unread message

Kevin Liu

unread,
Feb 15, 2018, 10:05:28 AM2/15/18
to CAS Community
Hello,

It is my understanding that cas.properties should override whatever properties are in WEB-INF/classes application.properties. Is this correct?

If so, I'm having trouble overriding "cas.authn.accept.users=casuser::Mellon". With a blank value in cas.properties and "cas.authn.accept.users=casuser::Mellon" in application.properties, I'm still getting status authentication warning.

It seems as if changing values in cas.properties don't have an effect, only when I change the values in application.properties.

The only thing I did differently is instead of pointing to /etc/cas/config, I have it pointing to /etc/cas1/config (this is due to allow multiple cas instances on the same box). Can I not do this?

Ray Bon

unread,
Feb 15, 2018, 12:21:43 PM2/15/18
to cas-...@apereo.org
Kevin,

Is the config file being written to /etc/cas1/config?
Do you still have the same problem when using /etc/cas/config?

Ray
-- 
Ray Bon
Programmer analyst
Development Services, University Systems
2507218831 | CLE 019 | rb...@uvic.ca

Oscar del Pozo

unread,
Feb 15, 2018, 1:09:41 PM2/15/18
to CAS Community
Notice that the cas.properties used is the one that it's located at /etc/cas/config (c:/etc/cas/config at windows environments). The script copies your project configuration to that folder before building the web app (target generation).

Kevin Liu

unread,
Feb 15, 2018, 1:31:52 PM2/15/18
to CAS Community
Yes the config file is being written to /etc/cas1/config. What's interesting is that some of the other properties are being accepted and some are not. It looks like ones defined already in application.properties are not being overriden. 

Kevin Liu

unread,
Feb 15, 2018, 1:33:25 PM2/15/18
to CAS Community
Yes, sorry I should have made it more clear. All the changes I'm making are to /etc/cas1/config.
Reply all
Reply to author
Forward
0 new messages