All work

Select view

Select search mode

 
50 of

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

Details

Assignee

Reporter

Components

Affects versions

Priority

Created January 25, 2018 at 6:47 AM
Updated January 25, 2018 at 6:47 AM

Activity

Show:

Flag notifications