We're updating the issue view to help you get more done. 

Reload of cas properties is not working

Description

The cas properties are not getting refreshed and reloaded.
Use Case:
1. touch/update cas.properties
The logs clearly indicate that reload is happening but the new behavior does not take effect:
Reloading CAS configuration via [cas-org.apereo.cas.configuration.CasConfigurationProperties]

Example initially set the following properties:
cas.ticket.tgt.maxTimeToLiveInSeconds=28800
cas.ticket.tgt.timeToKillInSeconds=7200

and then bring up the CAS. Once the CAS is up, update the properties to:
cas.ticket.tgt.maxTimeToLiveInSeconds=10
cas.ticket.tgt.timeToKillInSeconds=10

Generate the JWT to check the exp claim or simply wait for 10 seconds the TGT of the user would not be destroyed.

2. Configure the cas to use:
cas-server-core-configuration-cloud-jdbc

Later start the CAS server with a set of properties in DB. Later update the proterty and then manually reload the properties by using:
curl -X POST https://cas.server.url/cas/status/refresh
Still the new properties would not take affect. Example same as above

Environment

None

Status

Assignee

Unassigned

Reporter

Prateek Garg

Labels

None

Estimated End Date

None

Audience

None

Components

Affects versions

5.0

Priority

Blocker